summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-12-15 12:00:21 -0500
committerMarge Bot <[email protected]>2019-12-16 21:04:42 +0000
commita3ea4805aad2bfbd572c01ba1e982b69e00f6d07 (patch)
tree7eb0613a90a8d188378bd1efb2508d534b388e8b
parent2d3492bc623a97edf9011e655d74612ebaf4b0e9 (diff)
turnip: remove duplicate A6XX_SP_CS_CONFIG_NIBO
Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>
-rw-r--r--src/freedreno/vulkan/tu_pipeline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index c3aaf9f38a5..ff523c984a4 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -491,8 +491,7 @@ tu6_emit_cs_config(struct tu_cs *cs, const struct ir3_shader_variant *v)
tu_cs_emit(cs, A6XX_SP_CS_CONFIG_ENABLED |
A6XX_SP_CS_CONFIG_NIBO(v->image_mapping.num_ibo) |
A6XX_SP_CS_CONFIG_NTEX(v->num_samp) |
- A6XX_SP_CS_CONFIG_NSAMP(v->num_samp) |
- A6XX_SP_CS_CONFIG_NIBO(v->image_mapping.num_ibo));
+ A6XX_SP_CS_CONFIG_NSAMP(v->num_samp));
tu_cs_emit(cs, v->instrlen);
tu_cs_emit_pkt4(cs, REG_A6XX_SP_CS_CTRL_REG0, 1);