From: Eric Anholt Date: Thu, 15 Aug 2019 16:55:39 +0000 (-0700) Subject: gallium: Drop a bit of dead code from the pack/unpack python. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0547fdd7ee02b1160dcfa4b8dee23e52ced60599;p=mesa.git gallium: Drop a bit of dead code from the pack/unpack python. Nothing used this var. Reviewed-by: Roland Scheidegger Acked-by: Adam Jackson Reviewed-by: Marek Olšák --- 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))