st/mesa: decouple shaders from contexts if they are shareable
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
@@ -914,7 +914,7 @@ get_color_fp_variant(struct st_context *st)
|
||||
|
||||
memset(&key, 0, sizeof(key));
|
||||
|
||||
key.st = st;
|
||||
key.st = st->has_shareable_shaders ? NULL : st;
|
||||
key.drawpixels = 1;
|
||||
key.scaleAndBias = (ctx->Pixel.RedBias != 0.0 ||
|
||||
ctx->Pixel.RedScale != 1.0 ||
|
||||
|
Reference in New Issue
Block a user