mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-25 15:16:22 +00:00
Always consider subgroup index non-flat
* This is needed to ensure we get the right value for helper lanes
This commit is contained in:
@@ -3705,6 +3705,11 @@ static void CreateInputFetcher(rdcarray<uint32_t> &spv,
|
||||
editor.SetName(value.base, StringFormat::Fmt("__rd_base_%zu_%s", i, param.varName.c_str()));
|
||||
// non-float inputs are considered flat
|
||||
value.flat = VarTypeCompType(param.varType) != CompType::Float;
|
||||
|
||||
// mark this as non-flat so we still derive it for helper lanes as it will vary
|
||||
if(param.systemValue == ShaderBuiltin::IndexInSubgroup)
|
||||
value.flat = false;
|
||||
|
||||
laneValues.push_back(value);
|
||||
|
||||
if(valueType == boolType)
|
||||
|
||||
Reference in New Issue
Block a user