Add Properties prefix. Fix semantic check regression.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
cbuffer __PROPERTIES : register(b0)
|
||||
{
|
||||
float4 color;
|
||||
float4 __PROPERTIES__color;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ float3 vs_main(float3 pos : POSITION) : SV_POSITION
|
||||
|
||||
float4 ps_main() : SV_TARGET
|
||||
{
|
||||
return color;
|
||||
return __PROPERTIES__color;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cbuffer __PROPERTIES : register(b0)
|
||||
{
|
||||
float4 color;
|
||||
float4 __PROPERTIES__color;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ float3 vs_main(float3 pos : POSITION, float2 uv : TEXCOORD0) : SV_POSITION
|
||||
|
||||
float4 ps_main() : SV_TARGET
|
||||
{
|
||||
return color;
|
||||
return __PROPERTIES__color;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@ test/empty_struct.shd semant
|
||||
test/empty_vertex_main.shd semant
|
||||
test/empty_vertex_main_with_position_parameter.shd semant
|
||||
test/field_assignment.shd semant
|
||||
test/field_without_type_specifier.shd semant
|
||||
test/float_suffix.shd semant
|
||||
test/function_call.shd semant
|
||||
test/function_call_out_of_order_declaration.shd semant
|
||||
test/function_call_return.shd semant
|
||||
|
||||
Reference in New Issue
Block a user