Home
last modified time | relevance | path

Searched refs:tex_var (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_bitmap.c86 nir_variable *tex_var = in lower_bitmap() local
88 tex_var->data.binding = options->sampler; in lower_bitmap()
89 tex_var->data.explicit_binding = true; in lower_bitmap()
90 tex_var->data.how_declared = nir_var_hidden; in lower_bitmap()
92 nir_deref_instr *tex_deref = nir_build_deref_var(b, tex_var); in lower_bitmap()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atifs_to_nir.c348 nir_variable *tex_var = t->samplers[r]; in compile_setupinst() local
349 if (!tex_var) { in compile_setupinst()
356 tex_var = nir_variable_create(t->b->shader, nir_var_uniform, sampler_type, "tex"); in compile_setupinst()
357 tex_var->data.binding = r; in compile_setupinst()
358 tex_var->data.explicit_binding = true; in compile_setupinst()
359 t->samplers[r] = tex_var; in compile_setupinst()
365 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in compile_setupinst()
H A Dst_pbo.c515 nir_variable *tex_var = in create_fs() local
519 tex_var->data.explicit_binding = true; in create_fs()
520 tex_var->data.binding = 0; in create_fs()
522 nir_deref_instr *tex_deref = nir_build_deref_var(&b, tex_var); in create_fs()
526 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in create_fs()
528 glsl_get_sampler_coordinate_components(tex_var->type); in create_fs()
531 tex->dest_type = nir_get_nir_type_for_glsl_base_type(glsl_get_sampler_result_type(tex_var->type)); in create_fs()
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_draw_helpers.c132 nir_variable *tex_var = nir_variable_create(shader, nir_var_uniform, sampler2D, "stipple_tex"); in nir_lower_pstipple_fs() local
133 tex_var->data.binding = binding; in nir_lower_pstipple_fs()
134 tex_var->data.explicit_binding = true; in nir_lower_pstipple_fs()
135 tex_var->data.how_declared = nir_var_hidden; in nir_lower_pstipple_fs()
139 state.stip_tex = tex_var; in nir_lower_pstipple_fs()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_nir.c619 nir_variable *tex_var = in dzn_nir_blit_fs() local
621 nir_deref_instr *tex_deref = nir_build_deref_var(&b, tex_var); in dzn_nir_blit_fs()

Completed in 5 milliseconds