Handle offsets and format overrides in fetch shaders (#3486)

Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
This commit is contained in:
Stephen Miller
2025-08-30 16:20:23 -05:00
committed by GitHub
parent ed3f9ee626
commit c26f56ab02
4 changed files with 36 additions and 24 deletions

View File

@@ -385,7 +385,7 @@ void GraphicsPipeline::GetVertexInputs(
const auto& vs_info = GetStage(Shader::LogicalStage::Vertex);
for (const auto& attrib : fetch_shader->attributes) {
const auto step_rate = attrib.GetStepRate();
const auto& buffer = attrib.GetSharp(vs_info);
const auto buffer = attrib.GetSharp(vs_info);
attributes.push_back(Attribute{
.location = attrib.semantic,
.binding = attrib.semantic,