Fix properties renaming.
This commit is contained in:
15
test/codegen/property_rename.golden
Normal file
15
test/codegen/property_rename.golden
Normal file
@@ -0,0 +1,15 @@
|
||||
cbuffer __PROPERTIES : register(b0)
|
||||
{
|
||||
float4 color;
|
||||
}
|
||||
|
||||
float4 vs_main(float4 pos : POSITION) : SV_POSITION
|
||||
{
|
||||
return pos;
|
||||
}
|
||||
|
||||
float4 ps_main() : SV_TARGET
|
||||
{
|
||||
return color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user