diff --git a/GPU/GPUState.h b/GPU/GPUState.h index 5d4c3f006e..826dc84041 100644 --- a/GPU/GPUState.h +++ b/GPU/GPUState.h @@ -395,6 +395,7 @@ struct GPUgstate { bool isSkinningEnabled() const { return ((vertType & GE_VTYPE_WEIGHT_MASK) != GE_VTYPE_WEIGHT_NONE); } GEPatchPrimType getPatchPrimitiveType() const { return static_cast(patchprimitive & 3); } + bool isPatchNormalsReversed() const { return patchfacing & 1; } // Transfers u32 getTransferSrcAddress() const { return (transfersrc & 0xFFFFF0) | ((transfersrcw & 0xFF0000) << 8); } @@ -502,6 +503,14 @@ struct GPUStateCache { UVScale uv; + bool bezier; + bool spline; + int bezier_count_u; + int spline_count_u; + int spline_count_v; + int spline_type_u; + int spline_type_v; + bool bgraTexture; bool needShaderTexClamp; bool allowShaderBlend;