Skip to content

Conversation

@Przemog1
Copy link
Contributor

No description provided.

if (corner.x == 0.0f && corner.y == 0.0f)
{
dilationVector.x = ieee754::flipSign(dilationVector.x);
dilationVector.x = ieee754::flipSign(dilationVector.x, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't have to specify flip arg explicitly, you can cherry pick this one or just change 2 LoCs according to the commit

Comment on lines +82 to +84
#ifdef __HLSL_VERSION
NBL_REGISTER_OBJ_TYPE(MaterialPacked, 4)
#endif

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm we could just make NBL_REGISTER_OBJ_TYPE a NOOP for !__HLSL_VERSION

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we don't have to spam this ifdef everywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants