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:
committed by
Marge Bot
parent
8b8c724b9e
commit
b586c294fc
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user