Lines Matching defs:vec4
41 const struct glsl_type *vec4 = glsl_vec4_type();
44 nir_variable *pos_out = nir_variable_create(b.shader, nir_var_shader_out, vec4, "gl_Position");
47 nir_variable *tex_pos_out = nir_variable_create(b.shader, nir_var_shader_out, vec4, "v_tex_pos");
84 const struct glsl_type *vec4 = glsl_vec4_type();
87 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, vec4, "v_tex_pos");
98 glsl_sampler_type(tex_dim, false, tex_dim != GLSL_SAMPLER_DIM_3D, glsl_get_base_type(vec4));
121 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, vec4, "f_color");
131 const struct glsl_type *vec4 = glsl_vec4_type();
135 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, vec4, "v_tex_pos");
146 glsl_sampler_type(tex_dim, false, tex_dim != GLSL_SAMPLER_DIM_3D, glsl_get_base_type(vec4));
169 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, vec4, "f_color");
179 const struct glsl_type *vec4 = glsl_vec4_type();
183 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, vec4, "v_tex_pos");
194 glsl_sampler_type(tex_dim, false, tex_dim != GLSL_SAMPLER_DIM_3D, glsl_get_base_type(vec4));
217 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, vec4, "f_color");