mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Store state block on pass variables.
This commit is contained in:
committed by
Alexandre Julliard
parent
a99bcb1196
commit
ef9ae22ed0
Notes:
Alexandre Julliard
2024-04-11 17:02:42 -05: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/739
@@ -7,14 +7,14 @@ shader model < 6.0
|
||||
technique10 t1 < int a = 1; > {}
|
||||
technique10 t2 < int a = 2; int t1 = 3; int t2 = 4; > {}
|
||||
|
||||
[effect]
|
||||
[effect todo]
|
||||
// Annotations on passes
|
||||
technique10 t1 < int a = 1; >
|
||||
{
|
||||
pass < int t1 = 2; > {}
|
||||
}
|
||||
|
||||
[effect]
|
||||
[effect todo]
|
||||
// Using names from the global scope
|
||||
float a;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
% Test complex effect groups syntax
|
||||
[pixel shader fail(sm>=6) todo]
|
||||
[pixel shader fail(sm>=6)]
|
||||
fxgroup group1
|
||||
{
|
||||
technique10
|
||||
|
Reference in New Issue
Block a user