Searched refs:ibv (Results 1 – 3 of 3) sorted by relevance
131 D3D12_INDEX_BUFFER_VIEW ibv; in ImGui_ImplDX12_SetupRenderState() local132 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()
1118 D3D12_INDEX_BUFFER_VIEW ibv; in d3d12_draw_vbo() local1120 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()
212 D3D12_INDEX_BUFFER_VIEW ibv; member