Add attribute buffer index to support multiple attributes interleaved in single buffer bind [Core optimization] (#4241)
Co-authored-by: Adrian Cojocaru <adrian.cojocaru92@yahoo.com>
This commit is contained in:
@@ -41,7 +41,7 @@ struct ShaderSource<BuiltIn::DebugShader, gfx::Backend::Type::Metal> {
|
||||
static constexpr auto source = R"(
|
||||
|
||||
struct VertexStage {
|
||||
short2 pos [[attribute(debugUBOCount + 0)]];
|
||||
short2 pos [[attribute(0)]];
|
||||
};
|
||||
|
||||
struct FragmentStage {
|
||||
|
||||
Reference in New Issue
Block a user