mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Allow merging of drawcalls with matching output vertex formats but different inputs
Broken out from #17479
This commit is contained in:
1 parent
266c653e7e
commit
0ecc337c17
2 files changed
+65
-21
No files matched your search
@@ -1065,6 +1065,8 @@ static const StepFunction posstep_through[4] = {
|
||||
&VertexDecoder::Step_PosFloatThrough,
|
||||
};
|
||||
|
||||
// IMPORTANT: When changing how the formats map, your changes must match the rules
|
||||
// in IsVTypeCompatible in GPUCommonHW. See the comments on that function.
|
||||
void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options, VertexDecoderJitCache *jitCache) {
|
||||
fmt_ = fmt;
|
||||
throughmode = (fmt & GE_VTYPE_THROUGH) != 0;
|
||||
|
||||
Reference in new issue
Block a user