Home
last modified time | relevance | path

Searched refs:tex_add (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_meta.c545 nir_tex_instr *tex_add = nir_tex_instr_create(b->shader, 2); in radv_meta_build_resolve_shader_core() local
546 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
547 tex_add->op = nir_texop_txf_ms; in radv_meta_build_resolve_shader_core()
548 tex_add->src[0].src_type = nir_tex_src_coord; in radv_meta_build_resolve_shader_core()
549 tex_add->src[0].src = nir_src_for_ssa(img_coord); in radv_meta_build_resolve_shader_core()
550 tex_add->src[1].src_type = nir_tex_src_ms_index; in radv_meta_build_resolve_shader_core()
551 tex_add->src[1].src = nir_src_for_ssa(nir_imm_int(b, i)); in radv_meta_build_resolve_shader_core()
552 tex_add->dest_type = nir_type_float; in radv_meta_build_resolve_shader_core()
553 tex_add->is_array = false; in radv_meta_build_resolve_shader_core()
554 tex_add->coord_components = 2; in radv_meta_build_resolve_shader_core()
[all …]