mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Struct members are allowed to be arrays, don't set elements to 0
This commit is contained in:
@@ -83,7 +83,6 @@ static ShaderVariableType MakeShaderVariableType(DXBC::CBufferVariableType type,
|
||||
{
|
||||
ret.descriptor.rows = 0;
|
||||
ret.descriptor.cols = 0;
|
||||
ret.descriptor.elements = 0;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user