Searched refs:tex_add (Results 1 – 3 of 3) sorted by relevance
180 nir_tex_instr *tex_add = nir_tex_instr_create(b.shader, 3); in build_depth_stencil_resolve_compute_shader() local181 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in build_depth_stencil_resolve_compute_shader()182 tex_add->op = nir_texop_txf_ms; in build_depth_stencil_resolve_compute_shader()183 tex_add->src[0].src_type = nir_tex_src_coord; in build_depth_stencil_resolve_compute_shader()184 tex_add->src[0].src = nir_src_for_ssa(img_coord); in build_depth_stencil_resolve_compute_shader()185 tex_add->src[1].src_type = nir_tex_src_ms_index; in build_depth_stencil_resolve_compute_shader()186 tex_add->src[1].src = nir_src_for_ssa(nir_imm_int(&b, i)); in build_depth_stencil_resolve_compute_shader()187 tex_add->src[2].src_type = nir_tex_src_texture_deref; in build_depth_stencil_resolve_compute_shader()188 tex_add->src[2].src = nir_src_for_ssa(input_img_deref); in build_depth_stencil_resolve_compute_shader()189 tex_add->dest_type = type; in build_depth_stencil_resolve_compute_shader()[all …]
657 nir_tex_instr *tex_add = nir_tex_instr_create(b->shader, 3); in radv_meta_build_resolve_shader_core() local658 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()659 tex_add->op = nir_texop_txf_ms; in radv_meta_build_resolve_shader_core()660 tex_add->src[0].src_type = nir_tex_src_coord; in radv_meta_build_resolve_shader_core()661 tex_add->src[0].src = nir_src_for_ssa(img_coord); in radv_meta_build_resolve_shader_core()662 tex_add->src[1].src_type = nir_tex_src_ms_index; in radv_meta_build_resolve_shader_core()663 tex_add->src[1].src = nir_src_for_ssa(nir_imm_int(b, i)); in radv_meta_build_resolve_shader_core()664 tex_add->src[2].src_type = nir_tex_src_texture_deref; in radv_meta_build_resolve_shader_core()665 tex_add->src[2].src = nir_src_for_ssa(input_img_deref); in radv_meta_build_resolve_shader_core()666 tex_add->dest_type = nir_type_float32; in radv_meta_build_resolve_shader_core()[all …]
373 nir_tex_instr *tex_add = nir_tex_instr_create(b.shader, 3); in build_depth_stencil_resolve_fragment_shader() local374 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in build_depth_stencil_resolve_fragment_shader()375 tex_add->op = nir_texop_txf_ms; in build_depth_stencil_resolve_fragment_shader()376 tex_add->src[0].src_type = nir_tex_src_coord; in build_depth_stencil_resolve_fragment_shader()377 tex_add->src[0].src = nir_src_for_ssa(img_coord); in build_depth_stencil_resolve_fragment_shader()378 tex_add->src[1].src_type = nir_tex_src_ms_index; in build_depth_stencil_resolve_fragment_shader()379 tex_add->src[1].src = nir_src_for_ssa(nir_imm_int(&b, i)); in build_depth_stencil_resolve_fragment_shader()380 tex_add->src[2].src_type = nir_tex_src_texture_deref; in build_depth_stencil_resolve_fragment_shader()381 tex_add->src[2].src = nir_src_for_ssa(input_img_deref); in build_depth_stencil_resolve_fragment_shader()382 tex_add->dest_type = type; in build_depth_stencil_resolve_fragment_shader()[all …]