diff options
author | Eric Anholt <[email protected]> | 2019-08-15 09:55:39 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-08-28 10:39:36 -0700 |
commit | 0547fdd7ee02b1160dcfa4b8dee23e52ced60599 (patch) | |
tree | 8106097c51ed336e4540e8f7c789e5ffba72dcb1 | |
parent | 309ef968cde48d6d0cadf2da7c66a28519cbabe1 (diff) |
gallium: Drop a bit of dead code from the pack/unpack python.
Nothing used this var.
Reviewed-by: Roland Scheidegger <[email protected]>
Acked-by: Adam Jackson <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/util/u_format_pack.py | 2 |
1 files changed, 0 insertions, 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)) |