Lines Matching +defs:prog +defs:mode
93 sort_varyings(nir_shader *nir, nir_variable_mode mode)
97 nir_foreach_variable_with_modes_safe (var, nir, mode) {
105 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode)
107 nir_foreach_variable_with_modes (var, nir, mode) {
120 struct gl_shader_program *prog;
140 prog = standalone_compile_shader(&options, stages, files, &local_ctx);
144 prog->_LinkedShaders[stage]->Program->info.stage = stage;
152 nir[i] = glsl_to_nir(&local_ctx.Const, prog, shader_types[i], &bifrost_nir_options);
179 NIR_PASS_V(nir[i], gl_nir_lower_samplers, prog);
191 NIR_PASS_V(nir[i], gl_nir_lower_buffers, prog);