spirv: Add log for ignoring pos1

This commit is contained in:
IndecisiveTurtle 2024-08-14 19:00:45 +03:00
parent c27ce65dd8
commit 80c114a135
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ Id EmitGetAttributeU32(EmitContext& ctx, IR::Attribute attr, u32 comp) {
void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, Id value, u32 element) {
if (attr == IR::Attribute::Position1) {
LOG_WARNING(Render_Vulkan, "Ignoring pos1 export");
return;
}
const Id pointer{OutputAttrPointer(ctx, attr, element)};