From d30160710b717aaeb5b1acda39527206b76a546f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 11 Sep 2024 20:04:58 +0200 Subject: [PATCH] vkd3d-shader/tpf: Include vkd3d_d3dcommon.h only from tpf.c. --- libs/vkd3d-shader/hlsl.h | 1 - libs/vkd3d-shader/tpf.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/hlsl.h b/libs/vkd3d-shader/hlsl.h index 66c43826..6e61db74 100644 --- a/libs/vkd3d-shader/hlsl.h +++ b/libs/vkd3d-shader/hlsl.h @@ -22,7 +22,6 @@ #include "vkd3d_shader_private.h" #include "rbtree.h" -#include "vkd3d_d3dcommon.h" #include "vkd3d_d3dx9shader.h" /* The general IR structure is inspired by Mesa GLSL hir, even though the code diff --git a/libs/vkd3d-shader/tpf.c b/libs/vkd3d-shader/tpf.c index 78b94c3f..e251673b 100644 --- a/libs/vkd3d-shader/tpf.c +++ b/libs/vkd3d-shader/tpf.c @@ -23,6 +23,7 @@ #include "hlsl.h" #include "vkd3d_shader_private.h" +#include "vkd3d_d3dcommon.h" #define SM4_MAX_SRC_COUNT 6 #define SM4_MAX_DST_COUNT 2