nvfx: Include missing headers in nvfx_shader.h.
authorVinson Lee <vlee@vmware.com>
Wed, 25 Aug 2010 07:44:28 +0000 (00:44 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 25 Aug 2010 07:44:28 +0000 (00:44 -0700)
Include stdint.h for uint8_t symbol.
Include p_compiler.h for INLINE symbol.

src/gallium/drivers/nvfx/nvfx_shader.h

index c711484..35006ee 100644 (file)
@@ -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