projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fbbad0
)
isl: Remove redundant check
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 9 Mar 2016 20:23:22 +0000
(12:23 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 10 Mar 2016 18:41:52 +0000
(10:41 -0800)
The green channel was checked twice.
src/intel/isl/isl_format.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl_format.c
b/src/intel/isl/isl_format.c
index 0fe6e9b83ab3238b51dd81a599305d8beaf0ee81..7842197d861a34f3da49f8d198bb45537bdc5ad9 100644
(file)
--- a/
src/intel/isl/isl_format.c
+++ b/
src/intel/isl/isl_format.c
@@
-36,8
+36,7
@@
isl_format_has_sint_channel(enum isl_format fmt)
fmtl->channels.a.type == ISL_SINT ||
fmtl->channels.l.type == ISL_SINT ||
fmtl->channels.i.type == ISL_SINT ||
- fmtl->channels.p.type == ISL_SINT ||
- fmtl->channels.g.type == ISL_SINT;
+ fmtl->channels.p.type == ISL_SINT;
}
enum isl_format