Bind constant buffers where you define them

And remove possible slot collisions.
This commit is contained in:
ns6089 2023-08-20 08:36:06 +03:00 committed by Cameron Gutman
commit 4094fef67a
2 changed files with 4 additions and 5 deletions

View file

@ -8,7 +8,7 @@ struct PS_INPUT
float2 tex : TEXCOORD;
};
cbuffer SdrScaling : register(b0) {
cbuffer SdrScaling : register(b1) {
float scale_factor;
};