• Alyssa Rosenzweig's avatar
    panfrost/decode: Decode blend constant · ae705387
    Alyssa Rosenzweig authored
    This adds a forgotten decode line on Midgard and adds the field of a
    blend constant on Bifrost. The Bifrost encoding is fairly weird; whereas
    Midgard is just a regular 32-bit float, Bifrost uses a fancy
    fixed-point-esque encoding. The decode logic here is experimentally
    correct. The encode logic is a sort of "guesstimate", assuming that the
    high byte is just int(f / 255.0) and then solving algebraicly for the
    low byte. This might be slightly off in some cases.
    Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
    Reviewed-by: Ryan Houdek's avatarRyan Houdek <Sonicadvance1@gmail.com>
    ae705387
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...