Merge pull request #1579 from TiemoJung/handle_c_register
HLSL: implemented c register handling
This commit is contained in:
commit
e3cc0d35f3
2 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue