tests: Test I/O index ranges not intersecting a signature element for a given register.

Since this test depend on the specific code generated by the
native d3dcompiler we add the possibility to specify a "raw"
shader using a hex format. When the shader assembler is finally
available they should be replaced with assembly code.
This commit is contained in:
Giovanni Mascellani
2025-01-13 22:34:23 +01:00
committed by Henri Verbeet
parent 84a59fe4c0
commit 8887501042
Notes: Henri Verbeet 2025-02-19 18:01:43 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Francisco Casas (@fcasas)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1332
5 changed files with 297 additions and 16 deletions

View File

@@ -787,11 +787,11 @@ static bool d3d12_runner_draw(struct shader_runner *r,
succeeded = succeeded && gs_code;
}
todo_if(runner->r.is_todo && runner->r.minimum_shader_model < SHADER_MODEL_6_0)
ok(succeeded, "Failed to compile shaders.\n");
if (!succeeded)
{
todo_if(runner->r.is_todo && runner->r.minimum_shader_model < SHADER_MODEL_6_0)
ok(false, "Failed to compile shaders.\n");
if (ps_code)
ID3D10Blob_Release(ps_code);
if (vs_code)