mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Use add_cast() in append_conditional_break().
Instead of creating a cast node directly. This specifically handles the 1x1 matrix case, which currently the backend code does not expect.
This commit is contained in:
committed by
Henri Verbeet
parent
1e97e1203f
commit
b2cddecfc5
Notes:
Henri Verbeet
2024-09-23 15:57:02 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1099
@@ -102,7 +102,7 @@ float4 main() : sv_target
|
||||
return 0;
|
||||
}
|
||||
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
static const float1x1 f;
|
||||
float4 main() : sv_target
|
||||
{
|
||||
|
Reference in New Issue
Block a user