Remove obsolete flag

This commit is contained in:
Henrik Rydgård committed 2024-05-11 10:00:35 +02:00
1 parent fcd48b76de
commit 3e11e54405
3 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -1265,7 +1265,7 @@ void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options,
decOff += DecFmtSize(DecVtxFormat::PosFmt());
}
decFmt.stride = options.alignOutputToWord ? align(decOff, 4) : decOff;
decFmt.stride = align(decOff, 4);
decFmt.ComputeID();
-1
View File
@@ -326,7 +326,6 @@ struct VertexDecoderOptions {
bool expandAllWeightsToFloat;
bool expand8BitNormalsToFloat;
bool applySkinInDecode;
bool alignOutputToWord;
};
class VertexDecoder {
-4
View File
@@ -62,10 +62,6 @@ DrawEngineVulkan::DrawEngineVulkan(Draw::DrawContext *draw)
: draw_(draw) {
decOptions_.expandAllWeightsToFloat = false;
decOptions_.expand8BitNormalsToFloat = false;
#if PPSSPP_PLATFORM(MAC) || PPSSPP_PLATFORM(IOS)
decOptions_.alignOutputToWord = true;
#endif
indexGen.Setup(decIndex_);
}