summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_setup.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-11-19 16:17:36 +0000
committerKeith Whitwell <keithw@vmware.com>2010-11-19 16:17:36 +0000
commit546c5ffa11d70631348e5776df7a4168f07600f6 (patch)
treeadb04885ca5b35e4a33b951d6eb7e16bd4188f19 /src/gallium/drivers/llvmpipe/lp_state_setup.h
parent081ce2680eb94f4f322faa26800a3906db6e2571 (diff)
llvmpipe: twoside for specular color also
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_setup.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_setup.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.h b/src/gallium/drivers/llvmpipe/lp_state_setup.h
index 40fb8ef428..90c55ca4ce 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_setup.h
+++ b/src/gallium/drivers/llvmpipe/lp_state_setup.h
@@ -15,14 +15,18 @@ struct lp_setup_variant_list_item
struct lp_setup_variant_key {
+ unsigned size:16;
unsigned num_inputs:8;
+ unsigned color_slot:8;
+
+ unsigned bcolor_slot:8;
+ unsigned spec_slot:8;
+ unsigned bspec_slot:8;
unsigned flatshade_first:1;
unsigned pixel_center_half:1;
unsigned twoside:1;
- unsigned color_slot:8;
- unsigned bcolor_slot:8;
- unsigned size:16;
- unsigned pad:21;
+ unsigned pad:5;
+
float units;
float scale;
struct lp_shader_input inputs[PIPE_MAX_SHADER_INPUTS];