projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
309ef96
)
gallium: Drop a bit of dead code from the pack/unpack python.
author
Eric Anholt
<eric@anholt.net>
Thu, 15 Aug 2019 16:55:39 +0000
(09:55 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 28 Aug 2019 17:39:36 +0000
(10:39 -0700)
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>
src/gallium/auxiliary/util/u_format_pack.py
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format_pack.py
b/src/gallium/auxiliary/util/u_format_pack.py
index e2fd1520dde6f801f27fbfbe29bee26ef85d9c15..75bda428e9345fa54a637011a7b102ce66400997 100644
(file)
--- 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))