mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests: Replace test_ps_viewport_index() with a shader runner test.
Mainly to allow testing the functionality in question with DXIL shaders as well.
This commit is contained in:
committed by
Henri Verbeet
parent
55fe8df979
commit
cd8cea6913
Notes:
Henri Verbeet
2025-07-31 15:06:45 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1663
@@ -428,6 +428,8 @@ static bool d3d9_runner_draw(struct shader_runner *r,
|
||||
|
||||
if (instance_count > 1)
|
||||
fatal_error("Unhandled instance count %u.\n", instance_count);
|
||||
if (r->viewport_count)
|
||||
fatal_error("Unhandled viewports.\n");
|
||||
|
||||
if (!(vs_code = compile_hlsl(&runner->r, SHADER_TYPE_VS)))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user