Lines Matching defs:shader
227 nir_alu_instr *mov = nir_alu_instr_create(b->shader, nir_op_mov);
250 nir_alu_instr *instr = nir_alu_instr_create(b->shader, op);
267 nir_alu_instr *mov = nir_alu_instr_create(b->shader, nir_op_mov);
550 instr = nir_tex_instr_create(b->shader, num_srcs);
567 var = nir_variable_create(b->shader, nir_var_uniform, type, samplerName);
828 * variables at the end of the shader.
839 nir_foreach_shader_out_variable(var, b->shader) {
864 struct nir_shader *shader = b->shader;
872 shader->info.stage == MESA_SHADER_FRAGMENT &&
874 nir_variable *var = nir_variable_create(shader, nir_var_system_value, glsl_vec4_type(),
882 nir_variable_create(shader, nir_var_shader_in, glsl_vec4_type(),
883 ralloc_asprintf(shader, "in_%d", i));
922 nir_variable_create(shader, nir_var_system_value, glsl_vec4_type(),
923 ralloc_asprintf(shader, "sv_%d", i));
940 * the shader.
954 nir_variable_create(shader, nir_var_shader_out, type,
955 ralloc_asprintf(shader, "out_%d", i));
1005 c->build.shader->info = prog->info;
1007 s = c->build.shader;