tests: Test whether valid state block function names are case-sensitive.

This commit is contained in:
Francisco Casas 2024-06-06 18:08:34 -04:00 committed by Henri Verbeet
parent b5f2e7daeb
commit af7c4010f4
Notes: Henri Verbeet 2024-07-09 21:10:32 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/915

View File

@ -36,6 +36,15 @@ sampler sam
float4 main() : sv_target { return 0; }
[pixel shader fail(sm<6) todo]
sampler sam
{
Setblendstate(1, 2, 3); // Test case-sensitivity.
};
float4 main() : sv_target { return 0; }
% It is allowed to use functions together with assignment syntax.
[pixel shader]
sampler sam