mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
asahi: fix speculation of rgb32 loads
kinda silly but hey. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
8b8c724b9e
commit
b586c294fc
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ libagx_texture_load_rgb32(constant struct agx_texture_packed *ptr, uint coord,
|
|||
bool is_float)
|
||||
{
|
||||
agx_unpack(NULL, ptr, TEXTURE, d);
|
||||
global uint3 *data = (global uint3 *)(d.address + 12 * coord);
|
||||
constant uint3 *data = (constant uint3 *)(d.address + 12 * coord);
|
||||
|
||||
return (uint4)(*data, is_float ? as_uint(1.0f) : 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue