mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests: Store the compiler string in the shader runner capabilities.
Just like the executor.
This commit is contained in:
committed by
Henri Verbeet
parent
a4f58be00c
commit
0b273ea88c
Notes:
Henri Verbeet
2025-03-17 15:28:49 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1416
@ -26,6 +26,12 @@
|
||||
#include "vkd3d_shader.h"
|
||||
#include "utils.h"
|
||||
|
||||
#ifdef VKD3D_CROSSTEST
|
||||
static const char HLSL_COMPILER[] = "d3dcompiler47.dll";
|
||||
#else
|
||||
static const char HLSL_COMPILER[] = "vkd3d-shader";
|
||||
#endif
|
||||
|
||||
#define RENDER_TARGET_WIDTH 640
|
||||
#define RENDER_TARGET_HEIGHT 480
|
||||
|
||||
@ -158,6 +164,7 @@ enum shader_cap
|
||||
struct shader_runner_caps
|
||||
{
|
||||
const char *runner;
|
||||
const char *compiler;
|
||||
const char *tags[3];
|
||||
size_t tag_count;
|
||||
enum shader_model minimum_shader_model;
|
||||
|
Reference in New Issue
Block a user