Re: [Mesa-dev] [PATCH] llvmpipe: increase max texture size to 2GB

2019-10-10 Thread Roland Scheidegger
Am 10.10.19 um 20:52 schrieb Jose Fonseca: > Sounds great. > > Reviewed-by: Jose Fonseca > > BTW, it's not really difficult to do gather with unsigned offsets: add > 0x8000 to the base, subtract 0x800 to the offsets, and use the > signed gather.   If the cost of doing so is significant,

Re: [Mesa-dev] [PATCH] llvmpipe: increase max texture size to 2GB

2019-10-10 Thread Jose Fonseca
Sounds great. Reviewed-by: Jose Fonseca BTW, it's not really difficult to do gather with unsigned offsets: add 0x8000 to the base, subtract 0x800 to the offsets, and use the signed gather. If the cost of doing so is significant, we could do this just for large textures, by adding a

[Mesa-dev] [PATCH] llvmpipe: increase max texture size to 2GB

2019-10-10 Thread sroland
From: Roland Scheidegger The 1GB limit was arbitrary, increase this to 2GB (which is the max possible without code changes). --- src/gallium/drivers/llvmpipe/lp_limits.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h b/src/galli