summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-09 12:23:22 -0800
committerJason Ekstrand <[email protected]>2016-03-10 10:41:52 -0800
commitb0e423cc4f0b19a266f3ecaf379c0a25bf332e04 (patch)
treeb66a5d6d3c0f57ace6ae748a5c369858bff420f6 /src/intel/isl
parent7fbbad01706f08645e832e6dd2f5eeaf1e3c6894 (diff)
isl: Remove redundant check
The green channel was checked twice.
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index 0fe6e9b83ab..7842197d861 100644
--- 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