From: Giovanni Mascellani gmascellani@codeweavers.com
Similarly to UAVs, this can now happen (and must be allowed) because require directives do not cause early exit from a test. --- tests/shader_runner_d3d9.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/tests/shader_runner_d3d9.c b/tests/shader_runner_d3d9.c index 0ba409251..25b9c8ad2 100644 --- a/tests/shader_runner_d3d9.c +++ b/tests/shader_runner_d3d9.c @@ -233,6 +233,12 @@ static struct resource *d3d9_runner_create_resource(struct shader_runner *r, con { unsigned int src_buffer_offset = 0;
+ /* Integral types are not supported by D3D9, we assume + * that execution will be guarded by a require + * directive. */ + if (params->data_type != TEXTURE_DATA_FLOAT) + break; + hr = IDirect3DDevice9_CreateTexture(device, params->width, params->height, params->level_count, 0, format, D3DPOOL_MANAGED, &resource->texture, NULL); ok(hr == D3D_OK, "Failed to create texture, hr %#lx.\n", hr);