Lines Matching +defs:prog +defs:mode
92 sort_varyings(nir_shader *nir, nir_variable_mode mode)
96 nir_foreach_variable_with_modes_safe (var, nir, mode) {
104 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode)
106 nir_foreach_variable_with_modes (var, nir, mode) {
119 struct gl_shader_program *prog;
139 prog = standalone_compile_shader(&options, stages, files, &local_ctx);
143 prog->_LinkedShaders[stage]->Program->info.stage = stage;
151 nir[i] = glsl_to_nir(&local_ctx, prog, shader_types[i], &bifrost_nir_options);
178 NIR_PASS_V(nir[i], gl_nir_lower_samplers, prog);
190 NIR_PASS_V(nir[i], gl_nir_lower_buffers, prog);