spirv: Make the clc_shader const

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7016>
This commit is contained in:
Jason Ekstrand 2020-10-05 19:21:29 -05:00 committed by Marge Bot
parent e33f9dbc1a
commit a0c13c9de9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ struct spirv_to_nir_options {
nir_address_format temp_addr_format;
nir_address_format constant_addr_format;
nir_shader *clc_shader;
const nir_shader *clc_shader;
struct {
void (*func)(void *private_data,