Bind constant buffers where you define them
And remove possible slot collisions.
This commit is contained in:
parent
f2ed4bece9
commit
4094fef67a
2 changed files with 4 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ struct PS_INPUT
|
|||
float2 tex : TEXCOORD;
|
||||
};
|
||||
|
||||
cbuffer SdrScaling : register(b0) {
|
||||
cbuffer SdrScaling : register(b1) {
|
||||
float scale_factor;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue