mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/hlsl: Show that GetRenderTargetSampleCount() returns a vector.
This commit is contained in:
committed by
Henri Verbeet
parent
42df4517c6
commit
4cdea712d0
Notes:
Henri Verbeet
2025-05-12 15:43:59 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1487
@@ -16,6 +16,13 @@ float4 main() : sv_target
|
|||||||
todo(glsl | msl) draw quad
|
todo(glsl | msl) draw quad
|
||||||
probe (0, 0) rgba (4.0, 0.0, 0.0, 0.0)
|
probe (0, 0) rgba (4.0, 0.0, 0.0, 0.0)
|
||||||
|
|
||||||
|
% Curiously GetRenderTargetSampleCount() returns a uint1, not a uint.
|
||||||
|
% In sm6 it is altered to return a uint.
|
||||||
|
[pixel shader fail(sm>=6) todo]
|
||||||
|
float4 main() : sv_target
|
||||||
|
{
|
||||||
|
return GetRenderTargetSampleCount()[0];
|
||||||
|
}
|
||||||
|
|
||||||
[pixel shader todo]
|
[pixel shader todo]
|
||||||
uniform uint u;
|
uniform uint u;
|
||||||
|
Reference in New Issue
Block a user