[Mesa-dev] [PATCH 3/3] Revert "i965: Drop the maximum 3D texture size to 512 on Sandy Bridge"

Chad Versace chadversary at chromium.org
Mon Sep 12 23:32:14 UTC 2016


On Mon 12 Sep 2016, Jason Ekstrand wrote:
> This reverts commit 6ba88bce64b343761aabe3a6c7ee285c6020a959.  The commit
> was erroneous because GL already provides a separate guard on the number of
> layers you are allowed to render into.  On Sandy Bridge, we set this guard
> correctly so creating a 3D texture bigger than 512 is fine, you just can't
> render into all of the slices at once.
> 
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> ---
>  src/mesa/drivers/dri/i965/brw_context.c | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)

What is that separate guard? Is it GL_MAX_FRAMEBUFFER_LAYERS (which we
set to the same value as GL_MaxArrayTextureLayers)?


More information about the mesa-dev mailing list