mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Remove use of bool32 replay API type&optimise mem layout in some structs
This commit is contained in:
@@ -770,7 +770,7 @@ ShaderVariable FormatElement::GetShaderVar(const byte *&data, const byte *end) c
|
||||
if(format.compType == CompType::Double)
|
||||
ret.type = VarType::Double;
|
||||
|
||||
ret.columns = qMin(format.compCount, 4U);
|
||||
ret.columns = qMin(format.compCount, uint8_t(4));
|
||||
ret.rows = qMin(matrixdim, 4U);
|
||||
|
||||
ret.displayAsHex = hex;
|
||||
|
||||
Reference in New Issue
Block a user