projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a8d90
)
Revert "i965: prevent potentially null pointer access"
author
Mark Janes
<mark.a.janes@intel.com>
Fri, 9 Feb 2018 17:37:57 +0000
(09:37 -0800)
committer
Mark Janes
<mark.a.janes@intel.com>
Fri, 9 Feb 2018 17:46:07 +0000
(09:46 -0800)
This reverts commit
712332ed54f14b5ee34c2990e351ca48992488b2
, which
caused over 90k failures in Mesa i965 CI.
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/mesa/drivers/dri/i965/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_screen.c
b/src/mesa/drivers/dri/i965/intel_screen.c
index 3f74ee78f3799b98ceb643f802a9f7a52391dbd1..1f866cf8459cfc8446f502eec33979ce8f20fad3 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_screen.c
+++ b/
src/mesa/drivers/dri/i965/intel_screen.c
@@
-315,7
+315,7
@@
modifier_is_supported(const struct gen_device_info *devinfo,
int i;
/* ISL had better know about the modifier */
- if (!
fmt || !
modinfo)
+ if (!modinfo)
return false;
if (modinfo->aux_usage == ISL_AUX_USAGE_CCS_E) {