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:
f00143a
)
anv: use the workaround framework for WA 14013111325
author
Rohan Garg
<rohan.garg@intel.com>
Wed, 3 May 2023 14:21:04 +0000
(16:21 +0200)
committer
Rohan Garg
<rohan.garg@intel.com>
Tue, 9 May 2023 08:22:02 +0000
(10:22 +0200)
Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22830>
src/intel/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_private.h
b/src/intel/vulkan/anv_private.h
index
2caa994
..
a2b87e0
100644
(file)
--- a/
src/intel/vulkan/anv_private.h
+++ b/
src/intel/vulkan/anv_private.h
@@
-3936,7
+3936,7
@@
anv_can_sample_mcs_with_clear(const struct intel_device_info * const devinfo,
* See HSD 1707282275, wa_14013111325. Due to the use of
* format-reinterpretation, a simplified workaround is implemented.
*/
- if (
devinfo->ver >= 12
&&
+ if (
intel_needs_workaround(devinfo, 14013111325)
&&
isl_format_get_layout(anv_surf->isl.format)->bpb <= 16) {
return false;
}