summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/state_tracker/st_extensions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 98a3490d4df..f442c08293b 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1398,6 +1398,11 @@ void st_init_extensions(struct pipe_screen *screen,
if (max_fb_fetch_rts > 0) {
extensions->KHR_blend_equation_advanced = true;
+
+ if (max_fb_fetch_rts >=
+ screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS)) {
+ extensions->EXT_shader_framebuffer_fetch_non_coherent = true;
+ }
}
consts->MaxViewports = screen->get_param(screen, PIPE_CAP_MAX_VIEWPORTS);