Searched refs:patch_offset (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_tess_io_to_mem.c | 338 nir_ssa_def *patch_offset = nir_imul_imm(b, rel_patch_id, output_patch_stride); in hs_output_lds_offset() local 342 output_patch_offset = patch_offset; in hs_output_lds_offset() 349 output_patch_offset = nir_iadd_nuw(b, patch_offset, output_patch0_offset); in hs_output_lds_offset() 378 …nir_ssa_def *patch_offset = nir_imul(b, rel_patch_id, nir_imul_imm(b, out_vertices_per_patch, 16u)… in hs_per_vertex_output_vmem_offset() local 383 return nir_iadd_nuw(b, nir_iadd_nuw(b, patch_offset, vertex_index_off), io_offset); in hs_per_vertex_output_vmem_offset() 403 nir_ssa_def *patch_offset = nir_imul_imm(b, rel_patch_id, 16u); in hs_per_patch_output_vmem_offset() local 405 return nir_iadd_nuw(b, off, patch_offset); in hs_per_patch_output_vmem_offset()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tess.c | 412 nir_ssa_def *patch_offset = nir_imul24(b, patch_id, patch_stride); in build_per_vertex_offset() local 451 return nir_iadd(b, nir_iadd(b, patch_offset, attr_offset), vertex_offset); in build_per_vertex_offset() 493 nir_ssa_def *patch_offset = in build_tessfactor_base() local 511 return nir_iadd(b, patch_offset, nir_imm_int(b, offset + comp)); in build_tessfactor_base()
|