mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #162523: GPU: Add mipmap workaround for Intel Arc Windows OpenGL
The compute-shader based function `update_mipmaps` can generate broken mipmaps for Intel Arc Windows OpenGL. A workaround for falling back to `generate_mipmap` is added to mitigate the issue. Furthermore, a render test is added that catches the issue. Pull Request: https://projects.blender.org/blender/blender/pulls/162524
This commit is contained in:
parent
f6c6ee2405
commit
9dfdae1c36
7 changed files with 89 additions and 24 deletions
|
|
@ -24,6 +24,12 @@ except ImportError:
|
|||
# this script is run during preparation steps.
|
||||
pass
|
||||
|
||||
BLOCKLIST = [
|
||||
# Currently, image_mipmap tests are not enabled for storm-usd
|
||||
"image_cache_evict.blend",
|
||||
"image_mipmap_.*.blend",
|
||||
]
|
||||
|
||||
# Unsupported or broken scenarios for the Storm render engine
|
||||
BLOCKLIST_HYDRA = [
|
||||
# Corrupted output around borders
|
||||
|
|
@ -235,7 +241,7 @@ def main():
|
|||
parser = create_argparse()
|
||||
args = parser.parse_args()
|
||||
|
||||
blocklist = []
|
||||
blocklist = BLOCKLIST
|
||||
if args.gpu_backend == "metal":
|
||||
blocklist += BLOCKLIST_METAL
|
||||
elif args.gpu_backend == "vulkan":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue