mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
emit_spirv: Fix typo
This commit is contained in:
parent
84d745fcc4
commit
a9798d04fb
|
@ -171,7 +171,7 @@ Id EmitReadStepRate(EmitContext& ctx, int rate_idx) {
|
|||
rate_idx == 0 ? ctx.u32_zero_value : ctx.u32_one_value));
|
||||
}
|
||||
|
||||
Id EmitGetAttributeForGeomety(EmitContext& ctx, IR::Attribute attr, u32 comp, u32 index) {
|
||||
Id EmitGetAttributeForGeometry(EmitContext& ctx, IR::Attribute attr, u32 comp, u32 index) {
|
||||
if (IR::IsPosition(attr)) {
|
||||
ASSERT(attr == IR::Attribute::Position0);
|
||||
const auto position_arr_ptr = ctx.TypePointer(spv::StorageClass::Input, ctx.F32[4]);
|
||||
|
@ -196,7 +196,7 @@ Id EmitGetAttributeForGeomety(EmitContext& ctx, IR::Attribute attr, u32 comp, u3
|
|||
|
||||
Id EmitGetAttribute(EmitContext& ctx, IR::Attribute attr, u32 comp, u32 index) {
|
||||
if (ctx.info.stage == Stage::Geometry) {
|
||||
return EmitGetAttributeForGeomety(ctx, attr, comp, index);
|
||||
return EmitGetAttributeForGeometry(ctx, attr, comp, index);
|
||||
}
|
||||
|
||||
if (IR::IsParam(attr)) {
|
||||
|
|
Loading…
Reference in a new issue