mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
panfrost: decode: Fix decode_bifrost_constant() prototype
We expect a float, not an integer. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6886>
This commit is contained in:
parent
7568c97df1
commit
12b00b77c6
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ pandecode_shader_address(const char *name, mali_ptr ptr)
|
|||
|
||||
/* Decodes a Bifrost blend constant. See the notes in bifrost_blend_rt */
|
||||
|
||||
static unsigned
|
||||
static float
|
||||
decode_bifrost_constant(u16 constant)
|
||||
{
|
||||
float lo = (float) (constant & 0xFF);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue