Skip to content

Conversation

@kblaschke
Copy link
Member

Had to simulate it with the "x * exp2(exp)" expression in GLSL, as GLSL only supports integer types as exponents in its native ldexp implementation, while HLSL solely uses floats.

@kblaschke kblaschke added the enhancement The feature is considered an enhancement. label Dec 11, 2024
@kblaschke kblaschke added this to the 4.2 milestone Dec 11, 2024
@kblaschke kblaschke self-assigned this Dec 11, 2024
@kblaschke kblaschke changed the title hlslparser: Add missing "ldexp" HLSL intrinsic. hlslparser: Add missing "ldexp" and "faceforward" HLSL intrinsics. Dec 11, 2024
Copy link
Member

@revmischa revmischa left a comment

Choose a reason for hiding this comment

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

I don't have anything useful to provide here

Had to simulate it with the "x * exp2(exp)" expression in GLSL, as GLSL only supports integer types as exponents in its native ldexp implementation, while HLSL solely uses floats.
@kblaschke kblaschke force-pushed the add-ldexp-hlsl-intrinsic branch from 06e103f to a77df53 Compare December 16, 2024 16:43
@kblaschke kblaschke merged commit a77df53 into projectM-visualizer:master Dec 16, 2024
9 checks passed
@kblaschke kblaschke deleted the add-ldexp-hlsl-intrinsic branch December 16, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement The feature is considered an enhancement.

Projects

Development

Successfully merging this pull request may close these issues.

3 participants