diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp index bf0aabb2..5b5a0bde 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp @@ -2,13 +2,11 @@ // Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/) #include +#include +#include #include #include -#include -#include -#include "gpu/cache/graphics_pipeline_cache.h" #include "pipeline_manager.h" -#include "soc/gm20b/engines/maxwell/types.h" namespace skyline::gpu::interconnect::maxwell3d { static constexpr Shader::Stage ConvertCompilerShaderStage(engine::Pipeline::Shader::Type stage) { @@ -426,7 +424,7 @@ namespace skyline::gpu::interconnect::maxwell3d { bindingDescs.push_back({ .binding = i, .stride = binding.stride, - .inputRate = binding.divisor ? vk::VertexInputRate::eInstance : vk::VertexInputRate::eVertex, + .inputRate = binding.GetInputRate(), }); if (binding.GetInputRate() == vk::VertexInputRate::eInstance) {