mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
spirv_emit_context: Name all instance rate attribs properly
This commit is contained in:
parent
3d9d274349
commit
94da2786d3
@ -378,7 +378,7 @@ void EmitContext::DefineInputs() {
|
||||
const auto sharp = attrib.GetSharp(info);
|
||||
const Id type{GetAttributeType(*this, sharp.GetNumberFmt())[4]};
|
||||
Id id{DefineInput(type, attrib.semantic)};
|
||||
if (attrib.GetStepRate() == Gcn::VertexAttribute::InstanceIdType::Plain) {
|
||||
if (attrib.GetStepRate() != Gcn::VertexAttribute::InstanceIdType::None) {
|
||||
Name(id, fmt::format("vs_instance_attr{}", attrib.semantic));
|
||||
} else {
|
||||
Name(id, fmt::format("vs_in_attr{}", attrib.semantic));
|
||||
|
Loading…
Reference in New Issue
Block a user