mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
agx: disable bounds check optimization
fixes Fallout 4. needs more investigation when we have better debug tooling. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32434>
This commit is contained in:
parent
2b3b0cd339
commit
91ce434103
1 changed files with 4 additions and 1 deletions
|
|
@ -3119,7 +3119,10 @@ agx_optimize_nir(nir_shader *nir, bool soft_fault, uint16_t *preamble_size)
|
|||
nir_index_ssa_defs(impl);
|
||||
}
|
||||
|
||||
if (soft_fault) {
|
||||
/* TODO: Reenable this pass. It's breaking Fallout 4 in ways I don't
|
||||
* understand yet.
|
||||
*/
|
||||
if (soft_fault && 0) {
|
||||
NIR_PASS(_, nir, nir_shader_intrinsics_pass, optimize_bounds,
|
||||
nir_metadata_control_flow, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue