HLSL: Support register(..., spaceN) for setting the descriptor set.

This was suggested in issue #454.
This commit is contained in:
John Kessenich
2016-09-05 16:03:12 -06:00
parent e3218e270e
commit cfd7ce87cd
6 changed files with 49 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ tbuffer {
float4 v2;
};
cbuffer cbufName : register(b2) {
cbuffer cbufName : register(b2, space10) {
float4 v3;
int i3 : packoffset(c1.y);
};