summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state_shader.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-18 10:36:31 +1000
committerDave Airlie <airlied@redhat.com>2010-12-24 07:19:57 +1000
commit2f4860f2ab7a7d4a1a1f6e69ee074e22a58c754f (patch)
treead8582676c0f6158822a798a77e38958b918d7c7 /src/gallium/drivers/softpipe/sp_state_shader.c
parentc9c8a5ed02408495b3132cabd7947cc352a117a2 (diff)
softpipe: add support for color writes all color bufs property
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state_shader.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_shader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c
index 7fff338cce..66ddc56572 100644
--- a/src/gallium/drivers/softpipe/sp_state_shader.c
+++ b/src/gallium/drivers/softpipe/sp_state_shader.c
@@ -78,6 +78,8 @@ softpipe_create_fs_state(struct pipe_context *pipe,
state->origin_lower_left = state->info.properties[i].data[0];
else if (state->info.properties[i].name == TGSI_PROPERTY_FS_COORD_PIXEL_CENTER)
state->pixel_center_integer = state->info.properties[i].data[0];
+ else if (state->info.properties[i].name == TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS)
+ state->color0_writes_all_cbufs = state->info.properties[i].data[0];
}
return state;