mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Don't report a register type mismatch for unused reserved variables.
This commit is contained in:
committed by
Alexandre Julliard
parent
d6ac823dd6
commit
c8ffe8e1a8
Notes:
Alexandre Julliard
2023-06-22 22:04:01 +02:00
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/244
@ -70,7 +70,7 @@ probe all rgba (1.0, 1.0, 1.0, 99.0)
|
||||
|
||||
|
||||
% Register reservation with incorrect register type.
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
Texture2D unused : register(s0);
|
||||
Texture2D tex;
|
||||
|
||||
@ -80,12 +80,12 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
todo draw quad
|
||||
draw quad
|
||||
probe all rgba (0.0, 0.0, 0.0, 99.0)
|
||||
|
||||
|
||||
% Register reservation with incorrect register type.
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
sampler2D unused : register(t0);
|
||||
Texture2D tex;
|
||||
|
||||
@ -96,7 +96,7 @@ float4 main() : sv_target
|
||||
|
||||
|
||||
[test]
|
||||
todo draw quad
|
||||
draw quad
|
||||
probe all rgba (0.0, 0.0, 0.0, 99.0)
|
||||
|
||||
[pixel shader]
|
||||
|
Reference in New Issue
Block a user