Skip to content

Commit 3b1e776

Browse files
authored
Fix live2d test shader variable declarations
1 parent 26a9590 commit 3b1e776

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/live2d-tests/Source/Shaders/live2d_test_fs.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ struct PS_IN {
44
float2 v_texCoord : TEXCOORD0;
55
};
66

7-
cbuffer fs_ub : register(b1, space0) {
7+
cbuffer fs_ub {
88
float4 baseColor;
99
};
1010

11-
Texture2D u_tex0 : register(t0, space1);
11+
Texture2D u_tex0;
1212

1313
float4 main(PS_IN input) : SV_Target0 {
1414
float4 c = u_tex0.Sample(LinearClamp, input.v_texCoord) * baseColor;

0 commit comments

Comments
 (0)