Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c89 nir_ssa_def **vertex_index, in get_io_offset() argument
98 if (vertex_index != NULL) { in get_io_offset()
106 *vertex_index = vtx; in get_io_offset()
159 nir_ssa_def *vertex_index, nir_ssa_def *offset, in lower_load() argument
173 assert(vertex_index == NULL); in lower_load()
188 op = vertex_index ? nir_intrinsic_load_per_vertex_input : in lower_load()
193 op = vertex_index ? nir_intrinsic_load_per_vertex_output : in lower_load()
217 if (vertex_index) { in lower_load()
218 load->src[0] = nir_src_for_ssa(vertex_index); in lower_load()
232 nir_ssa_def *vertex_index, nir_ssa_def *offset, in lower_store() argument
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_packed_varyings.cpp184 bool gs_input_toplevel, unsigned vertex_index);
188 bool gs_input_toplevel, unsigned vertex_index);
192 unsigned vertex_index);
515 unsigned vertex_index) in lower_rvalue() argument
534 vertex_index); in lower_rvalue()
543 gs_input_toplevel, vertex_index); in lower_rvalue()
550 false, vertex_index); in lower_rvalue()
591 vertex_index); in lower_rvalue()
596 right_name, false, vertex_index); in lower_rvalue()
609 vertex_index); in lower_rvalue()
[all …]
/external/mesa3d/src/amd/common/
Dac_shader_abi.h80 unsigned vertex_index,
85 LLVMValueRef vertex_index,
98 LLVMValueRef vertex_index,
Dac_nir_to_llvm.c2793 LLVMValueRef vertex_index, in get_tcs_tes_buffer_address() argument
2806 if (vertex_index) { in get_tcs_tes_buffer_address()
2811 vertex_index, ""); in get_tcs_tes_buffer_address()
2825 if (!vertex_index) { in get_tcs_tes_buffer_address()
2839 LLVMValueRef vertex_index, in get_tcs_tes_buffer_address_params() argument
2852 return get_tcs_tes_buffer_address(ctx, vertex_index, param_index); in get_tcs_tes_buffer_address_params()
2873 LLVMValueRef vertex_index, in get_dw_address() argument
2879 if (vertex_index) { in get_dw_address()
2882 vertex_index, in get_dw_address()
2905 LLVMValueRef vertex_index, in load_tcs_varyings() argument
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp157 const src_reg &vertex_index, in emit_input_urb_read() argument
168 inst = emit(TCS_OPCODE_SET_INPUT_URB_OFFSETS, header, vertex_index, in emit_input_urb_read()
264 src_reg vertex_index = in nir_emit_intrinsic() local
279 emit_input_urb_read(tmp_d, vertex_index, imm_offset, in nir_emit_intrinsic()
282 emit_input_urb_read(byte_offset(tmp_d, REG_SIZE), vertex_index, in nir_emit_intrinsic()
296 emit_input_urb_read(dst, vertex_index, imm_offset, in nir_emit_intrinsic()
Dbrw_vec4_tcs.h59 const src_reg &vertex_index,
Dbrw_vec4_generator.cpp824 uint32_t vertex_index = vertex.ud; in generate_tcs_input_urb_offsets() local
826 1 + (vertex_index >> 3), vertex_index & 7); in generate_tcs_input_urb_offsets()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h270 LLVMValueRef vertex_index,
339 unsigned vertex_index,
Dsi_shader.c567 LLVMValueRef vertex_index; in si_llvm_load_input_vs() local
577 vertex_index = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
612 vertex_index, voffset, in si_llvm_load_input_vs()
837 LLVMValueRef vertex_index, in get_dw_address_from_generic_indices() argument
846 LLVMBuildMul(ctx->ac.builder, vertex_index, in get_dw_address_from_generic_indices()
880 LLVMValueRef vertex_index = NULL; in get_dw_address() local
900 vertex_index = si_get_indirect_index(ctx, &reg.DimIndirect, in get_dw_address()
903 vertex_index = LLVMConstInt(ctx->i32, reg.Dimension.Index, 0); in get_dw_address()
934 base_addr, vertex_index, in get_dw_address()
960 LLVMValueRef vertex_index, in get_tcs_tes_buffer_address() argument
[all …]
Dsi_shader_nir.c582 unsigned vertex_index, in si_nir_load_input_gs() argument
591 vertex_index, type, i); in si_nir_load_input_gs()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp235 LLVMValueRef vertex_index,
278 LLVMValueRef vertex_index, in swr_gs_llvm_fetch_input() argument
287 vertex_index, in swr_gs_llvm_fetch_input()
336 LLVMValueRef vertex_index, in swr_gs_llvm_fetch_input() argument
342 Value *vert_index = unwrap(vertex_index); in swr_gs_llvm_fetch_input()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h415 LLVMValueRef vertex_index,
Dlp_bld_tgsi_soa.c1475 LLVMValueRef vertex_index = NULL; in emit_fetch_gs_input() local
1500 vertex_index = get_indirect_index(bld, in emit_fetch_gs_input()
1505 vertex_index = lp_build_const_int32(gallivm, reg->Dimension.Index); in emit_fetch_gs_input()
1510 vertex_index, in emit_fetch_gs_input()
1521 vertex_index, in emit_fetch_gs_input()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1382 LLVMValueRef vertex_index, in draw_gs_llvm_fetch_input() argument
1399 LLVMValueRef vert_chan_index = vertex_index; in draw_gs_llvm_fetch_input()
1405 vertex_index, idx, ""); in draw_gs_llvm_fetch_input()
1423 indices[0] = vertex_index; in draw_gs_llvm_fetch_input()