turnip: remove compute emit_border_color
authorJonathan Marek <jonathan@marek.ca>
Sun, 15 Dec 2019 15:46:03 +0000 (10:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 21:04:42 +0000 (21:04 +0000)
Current tu6_emit_border_color doesn't work for compute and there's no
example from the GL driver to base it on, so replace it with a finishme.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>

src/freedreno/vulkan/tu_cmd_buffer.c

index 54e353704e52d0dcbdea164c3d58012cc13704f3..d96a26272e541386caa14ec5e5edae5cba14c91d 100644 (file)
@@ -3490,7 +3490,7 @@ tu_dispatch(struct tu_cmd_buffer *cmd,
       tu_cs_emit_ib(cs, &ib);
 
    if (needs_border)
-      tu6_emit_border_color(cmd, cs);
+      tu_finishme("compute border color");
 
    ib = tu6_emit_ibo(cmd->device, &cmd->sub_cs, pipeline,
                      descriptors_state, MESA_SHADER_COMPUTE);