summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/glsl_to_nir.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2024-01-26 15:24:39 +1100
committerMarge Bot <emma+marge@anholt.net>2024-03-12 01:43:03 +0000
commitf06aed8e1d15cf2f41b8163db07689dee35c9c42 (patch)
tree6f28210f45bd31da140ab947597480218a3ba763 /src/compiler/glsl/glsl_to_nir.cpp
parent626502d7c7f6b2266e2bdc7979e512b7a7292e44 (diff)
glsl: make an explicitly safe version of visit_exec_list()
visit_exec_list() has always called foreach_in_list_safe() here were rename that version to visit_exec_list_safe() and create a version that calls the non-safe foreach call. There are only 2 users of visit_exec_list() we change lower_jumps to use the renamed version and leave glsl_to_nir() to use the non-safe version as it never deletes the current instruction and in the following patch we will add code that may delete the next instruction meaning the safe version would be unsafe to use. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27288>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
0 files changed, 0 insertions, 0 deletions