Fix some if directive stuff. Fix a property output issue. Will be deprecated next commit anyway.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
void ps_main()
|
||||
{
|
||||
|
||||
float4 color = float4(1, 0, 0, 1);
|
||||
float4 alpha_color = float4(1, 0, 0, 1);
|
||||
float f = 2.0f;
|
||||
}
|
||||
|
||||
|
||||
4
test/codegen/if_def_expression.golden
Normal file
4
test/codegen/if_def_expression.golden
Normal file
@@ -0,0 +1,4 @@
|
||||
void vs_console_main()
|
||||
{
|
||||
}
|
||||
|
||||
9
test/codegen/ifdefs.golden
Normal file
9
test/codegen/ifdefs.golden
Normal file
@@ -0,0 +1,9 @@
|
||||
void ps_main()
|
||||
{
|
||||
}
|
||||
|
||||
void vs_skinning_main()
|
||||
{
|
||||
float x = 5.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user