From 2bb87a90b28f1d66f41e4d31a8aa741b06d8fe4b Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Wed, 21 Dec 2005 20:45:07 +0100 Subject: [PATCH] d3d9: Add traces for when shader support is missing in the shader test. --- dlls/d3d9/tests/shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/d3d9/tests/shader.c b/dlls/d3d9/tests/shader.c index 6da5164ef65..563d5fa4d2f 100644 --- a/dlls/d3d9/tests/shader.c +++ b/dlls/d3d9/tests/shader.c @@ -151,8 +151,11 @@ START_TEST(shader) { test_get_set_vertex_shader(device_ptr); } + else trace("No vertex shader support, skipping test\n"); + if (caps.PixelShaderVersion & 0xffff) { test_get_set_pixel_shader(device_ptr); } + else trace("No pixel shader support, skipping test\n"); }