trunk/3rdparty/bgfx/src/renderer_d3d12.cpp
| r249198 | r249199 | |
| 4199 | 4199 | } |
| 4200 | 4200 | } |
| 4201 | 4201 | |
| 4202 | struct Bind |
| 4203 | { |
| 4204 | D3D12_GPU_DESCRIPTOR_HANDLE m_srvHandle; |
| 4205 | uint16_t m_samplerStateIdx; |
| 4206 | }; |
| 4207 | |
| 4202 | 4208 | void RendererContextD3D12::submit(Frame* _render, ClearQuad& /*_clearQuad*/, TextVideoMemBlitter& _textVideoMemBlitter) |
| 4203 | 4209 | { |
| 4204 | 4210 | // PIX_BEGINEVENT(D3DCOLOR_RGBA(0xff, 0x00, 0x00, 0xff), L"rendererSubmit"); |
| r249198 | r249199 | |
| 4273 | 4279 | |
| 4274 | 4280 | D3D12_GPU_VIRTUAL_ADDRESS gpuAddress = UINT64_C(0); |
| 4275 | 4281 | |
| 4276 | | struct Bind |
| 4277 | | { |
| 4278 | | D3D12_GPU_DESCRIPTOR_HANDLE m_srvHandle; |
| 4279 | | uint16_t m_samplerStateIdx; |
| 4280 | | }; |
| 4281 | | |
| 4282 | 4282 | StateCacheLru<Bind, 64> bindLru; |
| 4283 | 4283 | |
| 4284 | 4284 | setResourceBarrier(m_commandList |