Function overload check cleanup. Added if statement to parsing.
This commit is contained in:
17
test/codegen/custom_hint.golden
Normal file
17
test/codegen/custom_hint.golden
Normal file
@@ -0,0 +1,17 @@
|
||||
cbuffer __PROPERTIES : register(b0)
|
||||
{
|
||||
float __PROPERTIES__time;
|
||||
}
|
||||
|
||||
|
||||
float4 vs_main(float3 pos : POSITION) : SV_POSITION
|
||||
{
|
||||
return float4(pos.x, pos.y, pos.z, 1.0f);
|
||||
}
|
||||
|
||||
float4 ps_main(float4 pos : SV_POSITION) : SV_TARGET
|
||||
{
|
||||
float t = __PROPERTIES__time;
|
||||
return float4(1, 1, 1, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user