diff options
author | Eric Anholt <[email protected]> | 2018-12-27 19:57:03 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-01-14 13:18:02 -0800 |
commit | 619a28b845118707a4968ab1e3d8eb67da7a44cb (patch) | |
tree | ed3075456dcd395b90a891eacd678b318e1920cf /src/gallium/drivers/v3d/v3dx_rcl.c | |
parent | 051a41d3d56ee0eccf99e1871133cfaa4606b728 (diff) |
v3d: Add support for GL_ARB_framebuffer_no_attachments.
Fixes
dEQP-GLES31.functional.state_query.integer.max_framebuffer_height_getboolean
when GLES3 is enabled.
Diffstat (limited to 'src/gallium/drivers/v3d/v3dx_rcl.c')
-rw-r--r-- | src/gallium/drivers/v3d/v3dx_rcl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3dx_rcl.c b/src/gallium/drivers/v3d/v3dx_rcl.c index 45115c0b0cc..17750cc75f4 100644 --- a/src/gallium/drivers/v3d/v3dx_rcl.c +++ b/src/gallium/drivers/v3d/v3dx_rcl.c @@ -374,6 +374,15 @@ v3d_rcl_emit_stores(struct v3d_job *job, struct v3d_cl *cl) } } #else /* V3D_VERSION >= 40 */ + /* If we're emitting an RCL with GL_ARB_framebuffer_no_attachments, + * we still need to emit some sort of store. + */ + if (!job->store) { + cl_emit(cl, STORE_TILE_BUFFER_GENERAL, store) { + store.buffer_to_store = NONE; + } + } + assert(!stores_pending); /* GFXH-1461/GFXH-1689: The per-buffer store command's clear |