Disable Vtx rounding with DynOS gfx generation
This commit is contained in:
parent
b7f629e620
commit
2aa5fffc27
|
@ -8,15 +8,15 @@ extern "C" {
|
||||||
#define F32VTX_SENTINEL_2 0x5854
|
#define F32VTX_SENTINEL_2 0x5854
|
||||||
|
|
||||||
static inline bool ShouldUseF32Vtx(DataNode<Vtx>* aNode) {
|
static inline bool ShouldUseF32Vtx(DataNode<Vtx>* aNode) {
|
||||||
for (u32 i = 0; i != aNode->mSize; ++i) {
|
// for (u32 i = 0; i != aNode->mSize; ++i) {
|
||||||
for (u32 j = 0; j != 3; ++j) {
|
// for (u32 j = 0; j != 3; ++j) {
|
||||||
if (aNode->mData[i].n.ob[j] < -0x7FFF ||
|
// if (aNode->mData[i].n.ob[j] < -0x7FFF ||
|
||||||
aNode->mData[i].n.ob[j] > +0x7FFF) {
|
// aNode->mData[i].n.ob[j] > +0x7FFF) {
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool IsUsingF32Vtx(Vec3f ob) {
|
static inline bool IsUsingF32Vtx(Vec3f ob) {
|
||||||
|
|
Loading…
Reference in New Issue