mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Allow 'break' instructions in loops.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
89f493b900
commit
0e5749e78e
Notes:
Alexandre Julliard
2023-10-09 23:10:18 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/245
@@ -54,3 +54,10 @@ float4 main(float tex : texcoord) : sv_target
|
||||
}
|
||||
return float4(i, x, 0.0, 0.0);
|
||||
}
|
||||
|
||||
[pixel shader fail]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
break;
|
||||
return float4(0.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user