gallium/util: make WRITES_ALL_CBUFS optional in the passthrough fragment shader

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák
2013-05-29 14:11:58 +02:00
parent 45595d5066
commit de1c38299c
7 changed files with 17 additions and 9 deletions

View File

@@ -60,7 +60,8 @@ get_passthrough_fs(struct st_context *st)
if (!st->passthrough_fs) {
st->passthrough_fs =
util_make_fragment_passthrough_shader(st->pipe, TGSI_SEMANTIC_COLOR,
TGSI_INTERPOLATE_PERSPECTIVE);
TGSI_INTERPOLATE_PERSPECTIVE,
TRUE);
}
return st->passthrough_fs;