summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d/v3dx_rcl.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-07-23 13:30:58 -0700
committerEric Anholt <[email protected]>2018-07-26 11:02:20 -0700
commitd29435e7cb3f8a9ef369c90ff890c018463890a7 (patch)
treee7010353396b97d1a2e448af19dfbd5fcac22cbf /src/gallium/drivers/v3d/v3dx_rcl.c
parent47f5d158aebe69136a844f82c59b6b70336248e6 (diff)
v3d: Track the buffers being loaded separately.
We were computing this at RCL generation time, but that means you can't unflag the store for an invalidate_resource, or not flag the store if writmasking is disabled.
Diffstat (limited to 'src/gallium/drivers/v3d/v3dx_rcl.c')
-rw-r--r--src/gallium/drivers/v3d/v3dx_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3dx_rcl.c b/src/gallium/drivers/v3d/v3dx_rcl.c
index 608d76ce95c..b8200a4bc8b 100644
--- a/src/gallium/drivers/v3d/v3dx_rcl.c
+++ b/src/gallium/drivers/v3d/v3dx_rcl.c
@@ -203,7 +203,7 @@ zs_buffer_from_pipe_bits(int pipe_clear_bits)
static void
v3d_rcl_emit_loads(struct v3d_job *job, struct v3d_cl *cl)
{
- uint32_t loads_pending = job->store & ~job->clear;
+ uint32_t loads_pending = job->load;
for (int i = 0; i < VC5_MAX_DRAW_BUFFERS; i++) {
uint32_t bit = PIPE_CLEAR_COLOR0 << i;