gallium/util: fix glClear with MRT by making the FS write to all cbufs
[mesa.git] / src / mesa / state_tracker / st_atom_shader.c
index 45e7a117f5c3b5e4d778b2e78b7658b9d73a6f73..c1d7c80bb3a115f18a9f2631da9205c552730e29 100644 (file)
@@ -59,7 +59,8 @@ get_passthrough_fs(struct st_context *st)
 {
    if (!st->passthrough_fs) {
       st->passthrough_fs =
-         util_make_fragment_passthrough_shader(st->pipe);
+         util_make_fragment_passthrough_shader(st->pipe, TGSI_SEMANTIC_COLOR,
+                                               TGSI_INTERPOLATE_PERSPECTIVE);
    }
 
    return st->passthrough_fs;