It's already const for everything else.
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
struct nir_shader *const *shaders,
ac_shader_config* config,
struct radv_shader_info *info,
- struct radv_nir_compiler_options *options)
+ const struct radv_nir_compiler_options *options)
{
isel_context ctx = setup_isel_context(program, shader_count, shaders, config, info, options);
};
struct isel_context {
- struct radv_nir_compiler_options *options;
+ const struct radv_nir_compiler_options *options;
Program *program;
nir_shader *shader;
uint32_t constant_data_offset;
struct nir_shader *const *shaders,
ac_shader_config* config,
radv_shader_info *info,
- radv_nir_compiler_options *options)
+ const radv_nir_compiler_options *options)
{
program->stage = 0;
for (unsigned i = 0; i < shader_count; i++) {
struct nir_shader *const *shaders,
ac_shader_config* config,
struct radv_shader_info *info,
- struct radv_nir_compiler_options *options);
+ const struct radv_nir_compiler_options *options);
void lower_wqm(Program* program, live& live_vars,
const struct radv_nir_compiler_options *options);