aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-25 00:44:28 -0700
committerVinson Lee <[email protected]>2010-08-25 00:44:28 -0700
commitfbc3a911e1cbbc39da4c3b0e3dc9f1b964bf7fbc (patch)
tree02e3f99d2ada9faeec1ff6c68284dbd97a6bfa81 /src/gallium/drivers
parentcc4925bfe6915010caf03e5aa041ba1fdf0a422f (diff)
nvfx: Include missing headers in nvfx_shader.h.
Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_shader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_shader.h b/src/gallium/drivers/nvfx/nvfx_shader.h
index c711484ee2b..35006eec3d4 100644
--- a/src/gallium/drivers/nvfx/nvfx_shader.h
+++ b/src/gallium/drivers/nvfx/nvfx_shader.h
@@ -1,6 +1,10 @@
#ifndef __NVFX_SHADER_H__
#define __NVFX_SHADER_H__
+#include <stdint.h>
+
+#include "pipe/p_compiler.h"
+
#define NVFX_SWZ_IDENTITY ((3 << 6) | (2 << 4) | (1 << 2) | (0 << 0))
/* this will resolve to either the NV30 or the NV40 version