Home
last modified time | relevance | path

Searched refs:indirect_offset (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp160 const src_reg &indirect_offset) in emit_input_urb_read() argument
169 indirect_offset); in emit_input_urb_read()
182 if (inst->offset == 0 && indirect_offset.file == BAD_FILE) { in emit_input_urb_read()
195 const src_reg &indirect_offset) in emit_output_urb_read() argument
202 brw_imm_ud(dst.writemask << first_component), indirect_offset); in emit_output_urb_read()
222 const src_reg &indirect_offset) in emit_urb_write() argument
231 brw_imm_ud(writemask), indirect_offset); in emit_urb_write()
260 src_reg indirect_offset = get_indirect_offset(instr); in nir_emit_intrinsic() local
280 first_component, indirect_offset); in nir_emit_intrinsic()
283 imm_offset + 1, 0, indirect_offset); in nir_emit_intrinsic()
[all …]
Dbrw_vec4_tcs.h62 const src_reg &indirect_offset);
66 const src_reg &indirect_offset);
69 unsigned base_offset, const src_reg &indirect_offset);
Dbrw_vec4_tes.cpp179 src_reg indirect_offset = get_indirect_offset(instr); in nir_emit_intrinsic() local
187 if (indirect_offset.file != BAD_FILE) { in nir_emit_intrinsic()
190 input_read_header, indirect_offset); in nir_emit_intrinsic()
Dbrw_reg.h235 int indirect_offset:10; /* relative addressing offset */ member
383 reg.indirect_offset = 0; in brw_reg()
1057 reg.indirect_offset = offset; in brw_vec4_indirect()
1067 reg.indirect_offset = offset; in brw_vec1_indirect()
1078 reg.indirect_offset = offset; in brw_VxH_indirect()
Dbrw_fs_nir.cpp2198 fs_reg indirect_offset = get_nir_src(offset_src); in emit_gs_input_load() local
2235 const fs_reg srcs[] = { icp_handle, indirect_offset }; in emit_gs_input_load()
2273 bld.ADD(new_indirect, indirect_offset, brw_imm_ud(1u)); in emit_gs_input_load()
2274 indirect_offset = new_indirect; in emit_gs_input_load()
2506 fs_reg indirect_offset = get_indirect_offset(instr); in nir_emit_tcs_intrinsic() local
2569 if (indirect_offset.file == BAD_FILE) { in nir_emit_tcs_intrinsic()
2586 const fs_reg srcs[] = { icp_handle, indirect_offset }; in nir_emit_tcs_intrinsic()
2627 if (inst->offset == 0 && indirect_offset.file == BAD_FILE) { in nir_emit_tcs_intrinsic()
2647 fs_reg indirect_offset = get_indirect_offset(instr); in nir_emit_tcs_intrinsic() local
2652 if (indirect_offset.file == BAD_FILE) { in nir_emit_tcs_intrinsic()
[all …]
Dbrw_shader.h82 using brw_reg::indirect_offset;
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_compute.c41 GLintptr indirect_offset) in st_dispatch_compute_common() argument
66 info.indirect_offset = indirect_offset; in st_dispatch_compute_common()
79 GLintptr indirect_offset) in st_dispatch_compute_indirect() argument
84 st_dispatch_compute_common(ctx, NULL, NULL, indirect, indirect_offset); in st_dispatch_compute_indirect()
Dst_draw.c235 GLsizeiptr indirect_offset, in st_indirect_draw_vbo() argument
274 indirect.offset = indirect_offset; in st_indirect_draw_vbo()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_compute.c41 GLintptr indirect_offset = brw->compute.num_work_groups_offset; in prepare_indirect_gpgpu_walker() local
44 brw_load_register_mem(brw, GEN7_GPGPU_DISPATCHDIMX, bo, indirect_offset + 0); in prepare_indirect_gpgpu_walker()
45 brw_load_register_mem(brw, GEN7_GPGPU_DISPATCHDIMY, bo, indirect_offset + 4); in prepare_indirect_gpgpu_walker()
46 brw_load_register_mem(brw, GEN7_GPGPU_DISPATCHDIMZ, bo, indirect_offset + 8); in prepare_indirect_gpgpu_walker()
63 brw_load_register_mem(brw, MI_PREDICATE_SRC0, bo, indirect_offset + 0); in prepare_indirect_gpgpu_walker()
74 brw_load_register_mem(brw, MI_PREDICATE_SRC0, bo, indirect_offset + 4); in prepare_indirect_gpgpu_walker()
85 brw_load_register_mem(brw, MI_PREDICATE_SRC0, bo, indirect_offset + 8); in prepare_indirect_gpgpu_walker()
Dbrw_draw.c227 prim->indirect_offset, 5 * sizeof(GLuint), false); in brw_emit_prim()
232 prim->indirect_offset + 0); in brw_emit_prim()
234 prim->indirect_offset + 4); in brw_emit_prim()
237 prim->indirect_offset + 8); in brw_emit_prim()
240 prim->indirect_offset + 12); in brw_emit_prim()
242 prim->indirect_offset + 16); in brw_emit_prim()
245 prim->indirect_offset + 12); in brw_emit_prim()
849 prim->indirect_offset + (prim->indexed ? 12 : 8); in brw_draw_single_prim()
1016 GLsizeiptr indirect_offset, in brw_draw_indirect_prims() argument
1038 for (i = 0; i < draw_count; ++i, indirect_offset += stride) { in brw_draw_indirect_prims()
[all …]
Dbrw_draw.h75 GLsizeiptr indirect_offset,
/external/mesa3d/src/mesa/vbo/
Dvbo_context.c145 GLsizeiptr indirect_offset, in vbo_draw_indirect_prims() argument
167 for (i = 0; i < draw_count; ++i, indirect_offset += stride) { in vbo_draw_indirect_prims()
170 prim[i].indirect_offset = indirect_offset; in vbo_draw_indirect_prims()
Dvbo.h63 GLsizeiptr indirect_offset; member
116 GLsizeiptr indirect_offset,
Dvbo_primitive_restart.c201 new_prim.indirect_offset); in vbo_sw_primitive_restart()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.c905 unsigned indirect_offset; in ir3_emit_cs_consts() local
915 if (info->indirect_offset & 0xf) { in ir3_emit_cs_consts()
919 indirect_offset = 0; in ir3_emit_cs_consts()
922 info->indirect_offset, 3); in ir3_emit_cs_consts()
925 indirect_offset = info->indirect_offset; in ir3_emit_cs_consts()
929 indirect_offset, 4, NULL, indirect); in ir3_emit_cs_consts()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.h95 uint32_t indirect_offset; member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_compute.c198 OUT_RELOC(ring, rsc->bo, info->indirect_offset, 0, 0); /* ADDR_LO/HI */ in fd5_launch_grid()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_compute.c153 info->indirect_offset, in fill_grid_size()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h823 unsigned indirect_offset; /**< must be 4 byte aligned */ member
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c94 struct qreg indirect_offset = ntq_get_src(c, intr->src[0], 0); in indirect_uniform_load() local
119 indirect_offset = qir_ADD(c, indirect_offset, in indirect_uniform_load()
124 indirect_offset = qir_MAX(c, indirect_offset, qir_uniform_ui(c, 0)); in indirect_uniform_load()
125 indirect_offset = qir_MIN_NOIMM(c, indirect_offset, in indirect_uniform_load()
130 indirect_offset, in indirect_uniform_load()
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c3282 uint64_t indirect_offset; member
3304 va += info->indirect->offset + info->indirect_offset; in radv_emit_draw_packets()
3548 info.indirect_offset = offset; in radv_CmdDrawIndirect()
3568 info.indirect_offset = offset; in radv_CmdDrawIndexedIndirect()
3590 info.indirect_offset = offset; in radv_CmdDrawIndirectCountAMD()
3615 info.indirect_offset = offset; in radv_CmdDrawIndexedIndirectCountAMD()
3638 uint64_t indirect_offset; member
3660 va += info->indirect->offset + info->indirect_offset; in radv_emit_dispatch_packets()
3842 info.indirect_offset = offset; in radv_CmdDispatchIndirect()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c86 struct qreg indirect_offset = ntq_get_src(c, intr->src[0], 0); in indirect_uniform_load() local
111 indirect_offset = vir_ADD(c, indirect_offset, in indirect_uniform_load()
120 indirect_offset); in indirect_uniform_load()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c686 uint64_t va = base_va + info->indirect_offset; in si_setup_tgsi_grid()
772 radeon_emit(cs, info->indirect_offset); in si_emit_dispatch_packets()
/external/virglrenderer/src/
Dvrend_renderer.h252 uint32_t indirect_offset);
Dvrend_decode.c1180 uint32_t indirect_handle, indirect_offset; in vrend_decode_launch_grid() local
1191 indirect_offset = get_buf_entry(ctx, VIRGL_LAUNCH_INDIRECT_OFFSET); in vrend_decode_launch_grid()
1192 vrend_launch_grid(ctx->grctx, block, grid, indirect_handle, indirect_offset); in vrend_decode_launch_grid()

12