HLSL: Support register(..., spaceN) for setting the descriptor set.
This was suggested in issue #454.
This commit is contained in:
parent
e3218e270e
commit
cfd7ce87cd
6 changed files with 49 additions and 16 deletions
|
|
@ -6,7 +6,7 @@ tbuffer {
|
|||
float4 v2;
|
||||
};
|
||||
|
||||
cbuffer cbufName : register(b2) {
|
||||
cbuffer cbufName : register(b2, space10) {
|
||||
float4 v3;
|
||||
int i3 : packoffset(c1.y);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue