vkd3d-shader/hlsl: Fix the conditions to discard default values.

Otherwise default_values for strings are lost.

Thanks to Nikolay Sivov for pointing this out.
This commit is contained in:
Francisco Casas
2024-10-01 11:36:56 -03:00
committed by Henri Verbeet
parent b7314e2438
commit 0b989c9f37
Notes: Henri Verbeet 2024-10-07 17:52:25 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1137
2 changed files with 12 additions and 12 deletions

View File

@@ -86,7 +86,7 @@ technique10
// Without initializer
technique10 < int a; > {}
[effect fail todo]
[effect fail]
// Only numeric types and strings are allowed
technique10 < DepthStencilState ds = { 0 }; > {}