| 1725 | } |
| 1726 | |
| 1727 | rdcarray<ShaderVariable> ReplayController::GetCBufferVariableContents( |
| 1728 | ResourceId pipeline, ResourceId shader, ShaderStage stage, const rdcstr &entryPoint, |
| 1729 | uint32_t cbufslot, ResourceId buffer, uint64_t offset, uint64_t length) |
| 1730 | { |
| 1731 | CHECK_REPLAY_THREAD(); |
| 1732 | |
| 1733 | RENDERDOC_PROFILEFUNCTION(); |
| 1734 | |
| 1735 | bytebuf data; |
| 1736 | if(buffer != ResourceId()) |
| 1737 | { |
| 1738 | if(buffer != ResourceId()) |
| 1739 | { |
| 1740 | if(length > 0) |
| 1741 | m_pDevice->GetBufferData(buffer, offset, length, data); |
| 1742 | FatalErrorCheck(); |
| 1743 | } |
| 1744 | } |
| 1745 | |
| 1746 | rdcarray<ShaderVariable> v; |
| 1747 | |
| 1748 | if(shader != ResourceId()) |
| 1749 | { |
| 1750 | m_pDevice->FillCBufferVariables(pipeline, shader, stage, entryPoint, cbufslot, v, data); |
| 1751 | FatalErrorCheck(); |
| 1752 | } |
| 1753 | |
| 1754 | return v; |
| 1755 | } |
| 1756 | |
| 1757 | rdcarray<WindowingSystem> ReplayController::GetSupportedWindowSystems() |
| 1758 | { |
no test coverage detected