summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_llvm.h
diff options
context:
space:
mode:
authorHui Qi Tay <[email protected]>2010-10-14 14:04:39 +0100
committerKeith Whitwell <[email protected]>2010-10-14 22:34:10 +0100
commit26ff7523b69ddb377ade29296d20abfc46e69489 (patch)
tree9452f4df09a3e0b93bc2f79303345959b6a60e6a /src/gallium/auxiliary/draw/draw_llvm.h
parent08f890d4c3b8376d1840f90474f7c56329432d95 (diff)
draw: sanitize llvm variant key
Fixes recompilation, but seems to be broken with llvm 2.8.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_llvm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.h b/src/gallium/auxiliary/draw/draw_llvm.h
index fc7885499ef..def068179fd 100644
--- a/src/gallium/auxiliary/draw/draw_llvm.h
+++ b/src/gallium/auxiliary/draw/draw_llvm.h
@@ -168,7 +168,8 @@ struct draw_llvm_variant_key
unsigned bypass_viewport:1;
unsigned enable_d3dclipping:1;
unsigned need_edgeflags:1;
- unsigned nr_planes;
+ unsigned nr_planes:4;
+ unsigned pad:26;
/* Variable number of vertex elements:
*/