diff options
author | Kenneth Graunke <[email protected]> | 2019-05-14 20:31:46 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-05-23 08:13:10 -0700 |
commit | 25afbb04c222aeadfb8caa2b906187feb7a3e2fe (patch) | |
tree | ea82342b50fc4bbe81951159aa66cf6694ae9283 /src | |
parent | cca8af0c7d56890d070f7fd60acc169f641e0051 (diff) |
iris: Advertise coherent framebuffer fetches
This lets us advertise GL_EXT_shader_framebuffer_fetch and
GL_KHR_blend_equation_advanced_coherent support.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 0435e8826ef..611718e90df 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -193,7 +193,9 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS: return true; case PIPE_CAP_FBFETCH: + /* TODO: Support non-coherent FB fetch on Broadwell */ return devinfo->gen >= 9 ? BRW_MAX_DRAW_BUFFERS : 0; + case PIPE_CAP_FBFETCH_COHERENT: case PIPE_CAP_CONSERVATIVE_RASTER_INNER_COVERAGE: case PIPE_CAP_POST_DEPTH_COVERAGE: case PIPE_CAP_SHADER_STENCIL_EXPORT: |