summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_llvm.h
diff options
context:
space:
mode:
authorHui Qi Tay <[email protected]>2010-09-28 17:52:14 +0100
committerKeith Whitwell <[email protected]>2010-09-29 10:11:59 +0100
commit3744d1c7d30543520cede8a6c580f26985978953 (patch)
treefc73d4e5ca0d83c9998fde9e1511253386c2ea0e /src/gallium/auxiliary/draw/draw_llvm.h
parent94f65d095a1365b69a041302b473e40c6ccae3c3 (diff)
draw: added viewport and cliptest flags
Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_llvm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.h b/src/gallium/auxiliary/draw/draw_llvm.h
index 1142ea51cfb..8ff366956ce 100644
--- a/src/gallium/auxiliary/draw/draw_llvm.h
+++ b/src/gallium/auxiliary/draw/draw_llvm.h
@@ -160,7 +160,11 @@ typedef int
struct draw_llvm_variant_key
{
unsigned nr_vertex_elements:16;
- unsigned nr_samplers:16;
+ unsigned nr_samplers:12;
+ unsigned disable_cliptest:1;
+ unsigned disable_viewport:1;
+ unsigned disable_zclipping:1;
+ unsigned enable_d3dclipping:1;
/* Variable number of vertex elements:
*/