Re: [Mesa-dev] [PATCH] softpipe: use 64-bit arithmetic in softpipe_resource_layout()

2014-03-03 Thread Roland Scheidegger
Am 01.03.2014 20:21, schrieb Brian Paul: > To avoid 32-bit integer overflow for large textures. Note: we're > already doing this in llvmpipe. > > Cc: "10.0" "10.1" > --- > src/gallium/drivers/softpipe/sp_texture.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

[Mesa-dev] [PATCH] softpipe: use 64-bit arithmetic in softpipe_resource_layout()

2014-03-01 Thread Brian Paul
To avoid 32-bit integer overflow for large textures. Note: we're already doing this in llvmpipe. Cc: "10.0" "10.1" --- src/gallium/drivers/softpipe/sp_texture.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/