Merge pull request #46901 from lawnjelly/ewok_large_fvf_soft_xform

Batching - large FVF forces non-hardware transform
This commit is contained in:
Rémi Verschelde 2021-03-12 10:04:57 +01:00 committed by GitHub
commit b3e605ab13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ public:
// we are always splitting items with lots of commands,
// and items with unhandled primitives (default)
bool use_hardware_transform() const { return num_item_refs == 1; }
bool use_hardware_transform() const { return (num_item_refs == 1) && !(flags & RasterizerStorageCommon::USE_LARGE_FVF); }
};
struct BItemRef {