projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fdddb
)
u_format: Drop redundant .name init.
author
Eric Anholt
<eric@anholt.net>
Tue, 27 Apr 2021 22:56:23 +0000
(15:56 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 3 Jun 2021 00:12:39 +0000
(
00:12
+0000)
It's the first member that's set.
Acked-by: Adam Jackson <ajax@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10505>
src/util/format/u_format_parse.py
patch
|
blob
|
history
diff --git
a/src/util/format/u_format_parse.py
b/src/util/format/u_format_parse.py
index
08d6f5e
..
2c3b1aa
100644
(file)
--- a/
src/util/format/u_format_parse.py
+++ b/
src/util/format/u_format_parse.py
@@
-122,7
+122,6
@@
class Format:
self.le_swizzles = le_swizzles
self.be_channels = be_channels
self.be_swizzles = be_swizzles
- self.name = name
self.colorspace = colorspace
def __str__(self):