HLSL: implemented c register handling
Adjusted a test not to use c register for a structured buffer, they are supposed to use t registers Added comments with hints for what are the register types are used for.
This commit is contained in:
@@ -5,7 +5,7 @@ struct sb_t
|
||||
bool test2;
|
||||
}; // stride = 20
|
||||
|
||||
StructuredBuffer<sb_t> sbuf : register(c10);
|
||||
StructuredBuffer<sb_t> sbuf : register(t10);
|
||||
StructuredBuffer<float> sbuf2;
|
||||
|
||||
float4 main(uint pos : FOO) : SV_Target0
|
||||
|
||||
Reference in New Issue
Block a user