Searched refs:tex_var (Results 1 – 3 of 3) sorted by relevance
87 nir_variable *tex_var = in lower_bitmap() local89 tex_var->data.binding = options->sampler; in lower_bitmap()90 tex_var->data.explicit_binding = true; in lower_bitmap()91 tex_var->data.how_declared = nir_var_hidden; in lower_bitmap()93 nir_deref_instr *tex_deref = nir_build_deref_var(b, tex_var); in lower_bitmap()
134 nir_variable *tex_var = nir_variable_create(shader, nir_var_uniform, sampler2D, "stipple_tex"); in nir_lower_pstipple_fs() local135 tex_var->data.binding = binding; in nir_lower_pstipple_fs()136 tex_var->data.explicit_binding = true; in nir_lower_pstipple_fs()137 tex_var->data.how_declared = nir_var_hidden; in nir_lower_pstipple_fs()140 state.stip_tex = tex_var; in nir_lower_pstipple_fs()
493 nir_variable *tex_var = in create_fs() local496 tex_var->data.explicit_binding = true; in create_fs()497 tex_var->data.binding = 0; in create_fs()499 nir_deref_instr *tex_deref = nir_build_deref_var(&b, tex_var); in create_fs()503 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in create_fs()505 glsl_get_sampler_coordinate_components(tex_var->type); in create_fs()