Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx12.cpp131 D3D12_INDEX_BUFFER_VIEW ibv; in ImGui_ImplDX12_SetupRenderState() local
132 memset(&ibv, 0, sizeof(D3D12_INDEX_BUFFER_VIEW)); in ImGui_ImplDX12_SetupRenderState()
133 ibv.BufferLocation = fr->IndexBuffer->GetGPUVirtualAddress(); in ImGui_ImplDX12_SetupRenderState()
134 ibv.SizeInBytes = fr->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX12_SetupRenderState()
135 ibv.Format = sizeof(ImDrawIdx) == 2 ? DXGI_FORMAT_R16_UINT : DXGI_FORMAT_R32_UINT; in ImGui_ImplDX12_SetupRenderState()
136 ctx->IASetIndexBuffer(&ibv); in ImGui_ImplDX12_SetupRenderState()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_draw.cpp1118 D3D12_INDEX_BUFFER_VIEW ibv; in d3d12_draw_vbo() local
1120 ibv.BufferLocation = d3d12_resource_gpu_virtual_address(res) + index_offset; in d3d12_draw_vbo()
1121 ibv.SizeInBytes = res->base.b.width0 - index_offset; in d3d12_draw_vbo()
1122 ibv.Format = ib_format(dinfo->index_size); in d3d12_draw_vbo()
1125 memcmp(&ctx->ibv, &ibv, sizeof(D3D12_INDEX_BUFFER_VIEW)) != 0) { in d3d12_draw_vbo()
1126 ctx->ibv = ibv; in d3d12_draw_vbo()
1128 ctx->cmdlist->IASetIndexBuffer(&ibv); in d3d12_draw_vbo()
Dd3d12_context.h212 D3D12_INDEX_BUFFER_VIEW ibv; member