mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 23:50:11 +01:00
gallium: Drop a bit of dead code from the pack/unpack python.
Nothing used this var. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Acked-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
309ef968cd
commit
0547fdd7ee
1 changed files with 0 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue