Mesa (master): nvfx: Include missing headers in nvfx_shader.h.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Aug 25 07:45:04 UTC 2010
Module: Mesa
Branch: master
Commit: fbc3a911e1cbbc39da4c3b0e3dc9f1b964bf7fbc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbc3a911e1cbbc39da4c3b0e3dc9f1b964bf7fbc
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Aug 25 00:44:28 2010 -0700
nvfx: Include missing headers in nvfx_shader.h.
Include stdint.h for uint8_t symbol.
Include p_compiler.h for INLINE symbol.
---
src/gallium/drivers/nvfx/nvfx_shader.h | 4 ++++
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 c711484..35006ee 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
More information about the mesa-commit
mailing list