HLSL: fix crash on empty struct return from entry point
This commit is contained in:
13
Test/hlsl.emptystructreturn.vert
Normal file
13
Test/hlsl.emptystructreturn.vert
Normal file
@@ -0,0 +1,13 @@
|
||||
struct vs_in
|
||||
{
|
||||
};
|
||||
|
||||
struct vs_out
|
||||
{
|
||||
};
|
||||
|
||||
vs_out main (vs_in i)
|
||||
{
|
||||
vs_out o;
|
||||
return o;
|
||||
}
|
||||
Reference in New Issue
Block a user