vkd3d-shader/hlsl: Allow KW_PIXELSHADER and KW_VERTEXSHADER as stateblock lhs.

This commit is contained in:
Francisco Casas
2024-03-20 17:11:49 -03:00
committed by Alexandre Julliard
parent ef9ae22ed0
commit e9559c394b
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
2 changed files with 19 additions and 3 deletions

View File

@ -442,7 +442,7 @@ float4 main() : sv_target { return 0; }
% PixelShader and VertexShader are valid identifiers for the lhs
[pixel shader todo]
[pixel shader]
sampler sam
{
pixelShader = 20;