From 1a40faa864f29bbde9b12abe31a062918a90e1a5 Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Thu, 20 Sep 2018 11:39:49 +0900 Subject: freedreno: fix a typo in launch_grid --- src/gallium/drivers/freedreno/freedreno_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c index 5a95880944b..e130895aac8 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.c +++ b/src/gallium/drivers/freedreno/freedreno_draw.c @@ -469,7 +469,7 @@ fd_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info) * read vs written, so just assume the worst */ foreach_bit(i, ctx->shaderbuf[PIPE_SHADER_COMPUTE].enabled_mask) - resource_read(batch, ctx->shaderbuf[PIPE_SHADER_COMPUTE].sb[i].buffer); + resource_written(batch, ctx->shaderbuf[PIPE_SHADER_COMPUTE].sb[i].buffer); foreach_bit(i, ctx->shaderimg[PIPE_SHADER_COMPUTE].enabled_mask) { struct pipe_image_view *img = -- cgit v1.2.3