HLSL: fix crash on empty struct return from entry point
This commit is contained in:
parent
19ea56899c
commit
d8e34c5119
6 changed files with 231 additions and 0 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue