| 1047 | } |
| 1048 | |
| 1049 | void GPUContextVulkan::BindCB(int32 slot, GPUConstantBuffer* cb) |
| 1050 | { |
| 1051 | ASSERT(slot >= 0 && slot < GPU_MAX_CB_BINDED); |
| 1052 | const auto cbVulkan = static_cast<GPUConstantBufferVulkan*>(cb); |
| 1053 | if (_cbHandles[slot] != cbVulkan) |
| 1054 | { |
| 1055 | _cbDirtyFlag = true; |
| 1056 | _cbHandles[slot] = cbVulkan; |
| 1057 | } |
| 1058 | } |
| 1059 | |
| 1060 | void GPUContextVulkan::BindSR(int32 slot, GPUResourceView* view) |
| 1061 | { |
no outgoing calls
no test coverage detected