Home
last modified time | relevance | path

Searched refs:vtx_offset (Results 1 – 25 of 60) sorted by relevance

123

/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_rendering/opengl/
H A D3d_model.cpp172 const unsigned int vtx_offset = mesh_group.m_vertices.size(); in MODEL_3D() local
183 auto& vtx_out = mesh_group.m_vertices[vtx_offset + vtx_i]; in MODEL_3D()
262 mesh_group.m_indices[idx_offset + idx_i] = mesh.m_FaceIdx[idx_i] + vtx_offset; in MODEL_3D()
335 unsigned int vtx_offset = 0; in MODEL_3D() local
359 glBufferSubData( GL_ARRAY_BUFFER, vtx_offset, mg.m_vertices.size() * sizeof( VERTEX ), in MODEL_3D()
367 vtx_offset += mg.m_vertices.size() * sizeof( VERTEX ); in MODEL_3D()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
65 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx01_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
68 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx23_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
71 vtx_offset = si_unpack_param(ctx, ctx->gs_vtx45_offset, index % 2 ? 16 : 0, 16); in si_llvm_load_input_gs()
79 vtx_offset = in si_llvm_load_input_gs()
80 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
82 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
105 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
109 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
115 value2 = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, in si_llvm_load_input_gs()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
60 vtx_offset = in si_llvm_load_input_gs()
64 vtx_offset = in si_llvm_load_input_gs()
65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
/dports/math/curv/curv-0.5/extern/imgui/examples/
H A Dimgui_impl_dx9.cpp164 int vtx_offset = 0; in ImGui_ImplDX9_RenderDrawData() local
183 …g_pd3dDevice->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, vtx_offset, 0, (UINT)cmd_list->VtxBuffer.Si… in ImGui_ImplDX9_RenderDrawData()
187 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX9_RenderDrawData()
H A Dimgui_impl_dx10.cpp195 int vtx_offset = 0; in ImGui_ImplDX10_RenderDrawData() local
218 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX10_RenderDrawData()
222 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
H A Dimgui_impl_dx11.cpp200 int vtx_offset = 0; in ImGui_ImplDX11_RenderDrawData() local
223 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX11_RenderDrawData()
227 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
H A Dimgui_impl_dx12.cpp195 int vtx_offset = 0; in ImGui_ImplDX12_RenderDrawData() local
213 ctx->DrawIndexedInstanced(pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplDX12_RenderDrawData()
217 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
H A Dimgui_impl_vulkan.cpp289 int vtx_offset = 0; in ImGui_ImplVulkan_RenderDrawData() local
314 vkCmdDrawIndexed(command_buffer, pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplVulkan_RenderDrawData()
318 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplVulkan_RenderDrawData()
/dports/graphics/milton/milton-1.9.1/third_party/imgui/examples/
H A Dimgui_impl_dx9.cpp165 int vtx_offset = 0; in ImGui_ImplDX9_RenderDrawData() local
184 …g_pd3dDevice->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, vtx_offset, 0, (UINT)cmd_list->VtxBuffer.Si… in ImGui_ImplDX9_RenderDrawData()
188 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX9_RenderDrawData()
H A Dimgui_impl_dx11.cpp205 int vtx_offset = 0; in ImGui_ImplDX11_RenderDrawData() local
228 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX11_RenderDrawData()
232 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
H A Dimgui_impl_dx10.cpp200 int vtx_offset = 0; in ImGui_ImplDX10_RenderDrawData() local
223 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX10_RenderDrawData()
227 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
H A Dimgui_impl_dx12.cpp200 int vtx_offset = 0; in ImGui_ImplDX12_RenderDrawData() local
218 ctx->DrawIndexedInstanced(pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplDX12_RenderDrawData()
222 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
/dports/devel/nextpnr/nextpnr-48cd407/3rdparty/imgui/examples/
H A Dimgui_impl_dx9.cpp164 int vtx_offset = 0; in ImGui_ImplDX9_RenderDrawData() local
183 …g_pd3dDevice->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, vtx_offset, 0, (UINT)cmd_list->VtxBuffer.Si… in ImGui_ImplDX9_RenderDrawData()
187 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX9_RenderDrawData()
H A Dimgui_impl_dx10.cpp195 int vtx_offset = 0; in ImGui_ImplDX10_RenderDrawData() local
218 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX10_RenderDrawData()
222 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX10_RenderDrawData()
H A Dimgui_impl_dx11.cpp200 int vtx_offset = 0; in ImGui_ImplDX11_RenderDrawData() local
223 ctx->DrawIndexed(pcmd->ElemCount, idx_offset, vtx_offset); in ImGui_ImplDX11_RenderDrawData()
227 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX11_RenderDrawData()
H A Dimgui_impl_dx12.cpp195 int vtx_offset = 0; in ImGui_ImplDX12_RenderDrawData() local
213 ctx->DrawIndexedInstanced(pcmd->ElemCount, 1, idx_offset, vtx_offset, 0); in ImGui_ImplDX12_RenderDrawData()
217 vtx_offset += cmd_list->VtxBuffer.Size; in ImGui_ImplDX12_RenderDrawData()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_gs.c50 LLVMValueRef vtx_offset, soffset; in si_llvm_load_input_gs() local
61 vtx_offset = LLVMBuildAdd(ctx->ac.builder, ctx->gs_vtx_offset[vtx_offset_param], in si_llvm_load_input_gs()
64 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
71 vtx_offset = LLVMBuildMul(ctx->ac.builder, ctx->gs_vtx_offset[vtx_offset_param], in si_llvm_load_input_gs()
76 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()

123