diff options
Diffstat (limited to 'src')
| -rw-r--r-- | 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 c711484ee2..35006eec3d 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 | 
