Fixed test to fully deprecate properties.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user