Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fmask_copy.c64 nir_tex_instr *frag_mask_fetch = nir_tex_instr_create(b.shader, 3); in build_fmask_copy_compute_shader() local
65 frag_mask_fetch->sampler_dim = GLSL_SAMPLER_DIM_MS; in build_fmask_copy_compute_shader()
66 frag_mask_fetch->op = nir_texop_fragment_mask_fetch_amd; in build_fmask_copy_compute_shader()
67 frag_mask_fetch->src[0].src_type = nir_tex_src_coord; in build_fmask_copy_compute_shader()
68 frag_mask_fetch->src[0].src = nir_src_for_ssa(src_coord); in build_fmask_copy_compute_shader()
69 frag_mask_fetch->src[1].src_type = nir_tex_src_lod; in build_fmask_copy_compute_shader()
70 frag_mask_fetch->src[1].src = nir_src_for_ssa(nir_imm_int(&b, 0)); in build_fmask_copy_compute_shader()
71 frag_mask_fetch->src[2].src_type = nir_tex_src_texture_deref; in build_fmask_copy_compute_shader()
72 frag_mask_fetch->src[2].src = nir_src_for_ssa(input_img_deref); in build_fmask_copy_compute_shader()
73 frag_mask_fetch->dest_type = nir_type_uint32; in build_fmask_copy_compute_shader()
[all …]