u_vbuf_mgr: add a way to specify the BIND flag for the upload buffer
[mesa.git] / src / gallium / drivers / softpipe / sp_state_shader.c
index 7fff338cceada61e92e0368df88ab27713f43214..66ddc565722119dc12dc05d0ebe90fe708cf9e17 100644 (file)
@@ -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;