summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_cache.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_cache.h b/src/gallium/auxiliary/cso_cache/cso_cache.h
index 58664cdd941..b4f4f3ae417 100644
--- a/src/gallium/auxiliary/cso_cache/cso_cache.h
+++ b/src/gallium/auxiliary/cso_cache/cso_cache.h
@@ -36,16 +36,14 @@
#include "pipe/p_context.h"
#include "pipe/p_state.h"
+#include "cso_hash.h" /* for cso_hash_iter, as MSVC requires structures returned by value to be fully defined */
+
#ifdef __cplusplus
extern "C" {
#endif
-struct cso_hash;
-
-struct cso_hash_iter;
-
struct cso_cache {
struct cso_hash *blend_hash;
struct cso_hash *depth_stencil_hash;