graphics: draw patched-offset indirect draws from GPU-read records

This commit is contained in:
nmzik committed 2026-10-27 10:13:15 +01:00
1 parent 09753bf8ff
commit a5b3673a39
14 files changed
+118 -21

No files matched your search

@@ -137,6 +137,8 @@ struct DrawRenderState {
bool ps_active = false;
std::array<ShaderVertexInputInfo, 3> vertex_info;
ShaderPixelInputInfo ps_input_info;
// Input: the user-data slots a GPU-read indirect draw patches.
ShaderIndirectOffsets indirect_offsets;
[[nodiscard]] std::span<const ShaderVertexInputInfo> VertexStages() const {
return {vertex_info.data(), vertex_info[1].stage ? 3u : 1u};