mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv: Do not enable robustness for push constants with robustBufferAccess2
There is no spec text requiring this behaviour, it is only for buffers. Signed-off-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23885>
This commit is contained in:
parent
f4c2025e2c
commit
68b9ad0ba7
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ radv_postprocess_nir(struct radv_device *device, const struct radv_pipeline_layo
|
|||
};
|
||||
|
||||
if (device->robust_buffer_access2) {
|
||||
vectorize_opts.robust_modes = nir_var_mem_ubo | nir_var_mem_ssbo | nir_var_mem_push_const;
|
||||
vectorize_opts.robust_modes = nir_var_mem_ubo | nir_var_mem_ssbo;
|
||||
}
|
||||
|
||||
if (!pipeline_key->optimisations_disabled) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue