diff options
author | Ben Skeggs <[email protected]> | 2008-03-13 18:29:56 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-03-16 18:13:34 +1100 |
commit | e1cf3f00e546f814effd25e9ccd072c941366444 (patch) | |
tree | 0aac96d8bdff0b7e12c16d93ba1a1df8f30360ca /src/gallium/drivers/nv40/nv40_shader.h | |
parent | 7d2c63e90983088f1e2f49543caf0468aa91111f (diff) |
nv40: simple swtnl path (half broken, but getting there)
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_shader.h')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_shader.h b/src/gallium/drivers/nv40/nv40_shader.h index 5909c70713c..854dccf5486 100644 --- a/src/gallium/drivers/nv40/nv40_shader.h +++ b/src/gallium/drivers/nv40/nv40_shader.h @@ -476,6 +476,7 @@ # define NV40_FP_SWIZZLE_W 3 #define NV40_FP_REG_NEGATE (1 << 17) +#ifndef NV40_SHADER_NO_FUCKEDNESS #define NV40SR_NONE 0 #define NV40SR_OUTPUT 1 #define NV40SR_INPUT 2 @@ -550,5 +551,6 @@ nv40_sr_scale(struct nv40_sreg src, int scale) src.dst_scale = scale; return src; } +#endif #endif |