From 0547fdd7ee02b1160dcfa4b8dee23e52ced60599 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 15 Aug 2019 09:55:39 -0700 Subject: [PATCH] gallium: Drop a bit of dead code from the pack/unpack python. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nothing used this var. Reviewed-by: Roland Scheidegger Acked-by: Adam Jackson Reviewed-by: Marek Olšák --- src/gallium/auxiliary/util/u_format_pack.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format_pack.py b/src/gallium/auxiliary/util/u_format_pack.py index e2fd1520dde..75bda428e93 100644 --- a/src/gallium/auxiliary/util/u_format_pack.py +++ b/src/gallium/auxiliary/util/u_format_pack.py @@ -445,8 +445,6 @@ def generate_unpack_kernel(format, dst_channel, dst_native_type): assert format.layout == PLAIN - src_native_type = native_type(format) - def unpack_from_bitmask(channels, swizzles): depth = format.block_size() print(' uint%u_t value = *(const uint%u_t *)src;' % (depth, depth)) -- 2.30.2