Page MenuHome

Fix T92103: Update BLI hash_float_to_float functions to be shader compatible
ClosedPublic

Authored by Charlie Jolly (charlie) on Oct 11 2021, 11:34 PM.

Details

Summary

Previously the functions called hash_float instead of uint_to_float_01.
This meant that the float was hashed twice instead of once.
The new functions are also compatible with Cycles/Eevee.

Fix T92103

Diff Detail

Repository
rB Blender

Event Timeline

Charlie Jolly (charlie) requested review of this revision.Oct 11 2021, 11:34 PM
Charlie Jolly (charlie) created this revision.
Hans Goudey (HooglyBoogly) requested changes to this revision.Oct 11 2021, 11:38 PM

The description should describe what the problem was, how this patch fixes it.
But the bug fix and the new code should be split off, it's generally important to keep the two separate.

This revision now requires changes to proceed.Oct 11 2021, 11:38 PM
Charlie Jolly (charlie) edited the summary of this revision. (Show Details)

Address comments.

This revision is now accepted and ready to land.Oct 11 2021, 11:55 PM