mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Set default values for annotations variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
4d2ce385a7
commit
0f7ac0a054
Notes:
Henri Verbeet
2024-07-08 18:55:00 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/918
@@ -70,7 +70,7 @@ technique10
|
||||
// Without initializer
|
||||
technique10 < int a; > {}
|
||||
|
||||
[effect fail todo]
|
||||
[effect fail]
|
||||
// Only numeric types and strings are allowed
|
||||
technique10 < DepthStencilState ds = { 0 }; > {}
|
||||
|
||||
@@ -82,9 +82,9 @@ technique10 < struct s { int a; } var = { 2 }; > {}
|
||||
// Static modifier is not allowed
|
||||
technique10 < static int a = 5; > {}
|
||||
|
||||
[effect fail todo]
|
||||
[effect fail]
|
||||
// Initializer should not depend on other annotations
|
||||
technique10 < int a = 1, b = a; > {}
|
||||
|
||||
[effect fail todo]
|
||||
[effect fail]
|
||||
technique10 < int a = 1; int b = a; > {}
|
||||
|
Reference in New Issue
Block a user