summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-01-06 08:13:18 +0400
committerDave Airlie <[email protected]>2012-01-15 16:19:41 +0000
commit725a820b926575265e6790601a0defd9c30947dc (patch)
treefb9078fa692ec555f7831b8c70e12dd57eff32bb /src/gallium/drivers/r600/r600_shader.h
parentd84ab821c5f5bfe9f6a57e434af9ca06d54f45b3 (diff)
r600g: implement two-sided lighting (v3)
v2: select the colors in the pixel shader v3: fix rs state creation for pre-evergreen Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index 9990ba646af..530a77604fe 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -47,6 +47,7 @@ struct r600_shader {
boolean uses_kill;
boolean fs_write_all;
boolean clamp_color;
+ boolean two_side;
unsigned nr_cbufs;
};