HLSL: Stop flattening non-IO structs containing opaques.
This makes struct returns from functions work, but breaks structs containing arrays, due to limitations in subsequent transforms in spirv-opt. This is expected to be fixed soon.
This commit is contained in:
@@ -22,5 +22,6 @@ float4 main() : SV_TARGET0
|
||||
res += lookUp(tex2);
|
||||
FxaaTex tex3 = tex1;
|
||||
res += lookUp(tex3);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user