Just need to enable some existing lowering.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19100>
.lower_cs_local_index_to_id = true,
.lower_wpos_pntc = true,
- /* Only needed for the spirv_to_nir() pass done in ir3_cmdline.c but that
- * should be harmless for GL since 64b is not supported there.
- */
.lower_int64_options = (nir_lower_int64_options)~0,
+ .lower_doubles_options = (nir_lower_doubles_options)~0,
};
struct ir3_compiler *
struct ir3_compiler *compiler = shader->compiler;
NIR_PASS_V(s, nir_lower_io, nir_var_shader_in | nir_var_shader_out,
- ir3_glsl_type_size, (nir_lower_io_options)0);
+ ir3_glsl_type_size, nir_lower_io_lower_64bit_to_32);
if (s->info.stage == MESA_SHADER_FRAGMENT) {
/* NOTE: lower load_barycentric_at_sample first, since it