summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHyunjun Ko <[email protected]>2018-09-20 11:39:49 +0900
committerRob Clark <[email protected]>2018-09-27 16:06:19 -0400
commit1a40faa864f29bbde9b12abe31a062918a90e1a5 (patch)
treeb58ad853ff624832fc96b5301bc30d5f16909c91 /src
parentaef410f31ed9a36275d4a66c1578ca48b6f8d0eb (diff)
freedreno: fix a typo in launch_grid
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_draw.c2
1 files changed, 1 insertions, 1 deletions
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 =