anv: Drop dead code that sets the L3BypassDisable field
authorSagar Ghuge <sagar.ghuge@intel.com>
Tue, 28 Mar 2023 20:03:15 +0000 (13:03 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 17:39:20 +0000 (17:39 +0000)
These helper functions will only get invoked for GFX < 11 and the
L3BypassDisable field is present starting from GFX12+.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22275>

src/intel/vulkan/genX_cmd_draw_helpers.h

index da0270b..8db6b5e 100644 (file)
@@ -46,9 +46,6 @@ emit_vertex_bo(struct anv_cmd_buffer *cmd_buffer,
          .MOCS = anv_mocs(cmd_buffer->device, addr.bo,
                           ISL_SURF_USAGE_VERTEX_BUFFER_BIT),
          .NullVertexBuffer = size == 0,
-#if GFX_VER >= 12
-         .L3BypassDisable = true,
-#endif
          .BufferStartingAddress = addr,
          .BufferSize = size
       });