Skip to content
Snippets Groups Projects
Commit 09cf9fe8 authored by Ian Romanick's avatar Ian Romanick Committed by Marge Bot
Browse files

anv: Larger memory pools for huge shaders

At least one ray tracing shader in cp2077 is over 4MB on Xe2. There
isn't a memory pool large enough for the allocation, so the driver
crashes instead. This commit adds 8MB and 16MB pools.

I intend this as a stop gap fix. I would prefer to figure out why this
shader is so much larger than on previous platforms. The shader in
question has 3824 spills and 8625 fills. That is not good. I suspect
dealing with that will also solve the problem, but that will require a
bit more time.

Closes: mesa/mesa#11739


Suggested-by: Lionel Landwerlin
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Cc: mesa-stable
Part-of: <mesa/mesa!30751>
parent 0921dfa0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment