mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner: Print information about the run configuration in run_shader_tests().
This commit is contained in:
committed by
Alexandre Julliard
parent
f15a0ace3e
commit
54142eb0bd
Notes:
Alexandre Julliard
2024-02-19 23:00:22 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/658
@@ -27,12 +27,6 @@
|
||||
#include "shader_runner.h"
|
||||
#include "vkd3d_test.h"
|
||||
|
||||
#ifdef VKD3D_CROSSTEST
|
||||
static const char HLSL_COMPILER[] = "d3dcompiler47.dll";
|
||||
#else
|
||||
static const char HLSL_COMPILER[] = "vkd3d-shader";
|
||||
#endif
|
||||
|
||||
struct d3d9_resource
|
||||
{
|
||||
struct resource r;
|
||||
@@ -155,6 +149,7 @@ static bool init_test_context(struct d3d9_shader_runner *runner)
|
||||
return false;
|
||||
}
|
||||
|
||||
runner->caps.runner = "d3d9.dll";
|
||||
runner->caps.minimum_shader_model = SHADER_MODEL_2_0;
|
||||
runner->caps.maximum_shader_model = SHADER_MODEL_3_0;
|
||||
|
||||
@@ -539,8 +534,6 @@ void run_shader_tests_d3d9(void)
|
||||
struct d3d9_shader_runner runner;
|
||||
HMODULE d3d9_module;
|
||||
|
||||
trace("Compiling SM2-SM3 shaders with %s and executing with d3d9.dll\n", HLSL_COMPILER);
|
||||
|
||||
if (!(d3d9_module = LoadLibraryA("d3d9.dll")))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user