Fixed test to fully deprecate properties.

This commit is contained in:
2025-09-17 12:33:38 +02:00
parent 94daf81a85
commit 89904824bb

View File

@@ -1,9 +1,8 @@
cbuffer __PROPERTIES : register(b0) cbuffer properties : register(b0)
{ {
float4 __PROPERTIES__color; float4 color;
} }
float3 vs_main(float3 pos : POSITION) : SV_POSITION float3 vs_main(float3 pos : POSITION) : SV_POSITION
{ {
return pos; return pos;
@@ -11,6 +10,6 @@ float3 vs_main(float3 pos : POSITION) : SV_POSITION
float4 ps_main() : SV_TARGET float4 ps_main() : SV_TARGET
{ {
return __PROPERTIES__color; return properties.color;
} }