turnip: remove duplicate A6XX_SP_CS_CONFIG_NIBO
authorJonathan Marek <jonathan@marek.ca>
Sun, 15 Dec 2019 17:00:21 +0000 (12:00 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 21:04:42 +0000 (21:04 +0000)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>

src/freedreno/vulkan/tu_pipeline.c

index c3aaf9f38a51c96bdf0df141ffa2fbbb07bcb47a..ff523c984a4de2604176e8b506aeba0a18976ac3 100644 (file)
@@ -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);