mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-02 18:38:04 +00:00
Fix Draw_Zoo tests
This commit is contained in:
@@ -1512,7 +1512,7 @@ ShaderVariable Debugger::ReadFromPointer(const ShaderVariable &ptr) const
|
||||
if(ret.rows > 1)
|
||||
{
|
||||
// matrix case
|
||||
ClampScalars(apiWrapper, ptr, scalar0, scalar1);
|
||||
ClampScalars(apiWrapper, ret, scalar0, scalar1);
|
||||
|
||||
if(scalar0 != ~0U && scalar1 != ~0U)
|
||||
{
|
||||
@@ -1545,7 +1545,7 @@ ShaderVariable Debugger::ReadFromPointer(const ShaderVariable &ptr) const
|
||||
}
|
||||
else
|
||||
{
|
||||
ClampScalars(apiWrapper, ptr, scalar0);
|
||||
ClampScalars(apiWrapper, ret, scalar0);
|
||||
|
||||
// vector case, selecting a scalar (if anything)
|
||||
if(scalar0 != ~0U)
|
||||
|
||||
Reference in New Issue
Block a user