diff options
author | Jordan Justen <[email protected]> | 2014-07-31 00:16:19 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2014-08-01 11:13:07 -0700 |
commit | c860a379d2fa09da1711591b6aef4a885d224ea0 (patch) | |
tree | 90bef398b27435cc686588a4278fdd2d5db80afd /src/glx/xf86dristr.h | |
parent | 3a9278b92cb5595d1dae604c409abe8f1a9be5b3 (diff) |
i965/miptree: Layout 1D Array as 2D Array with height of 1
1D array miptrees were being laid out as a 2D texture with 1 slice.
This happened due to the mesa core storing the 1D array slice count in
the height field. On Intel hardware, we want to create a 2D array with
a height of 1 for the 1D array case.
Fixes assertion failure in piglit (gen6, gen8):
spec/glsl-1.30/execution/tex-miplevel-selection textureOffset 1DArrayShadow
In release builds of Mesa, this test was observed to cause a GPU hang
on gen8.
Signed-off-by: Jordan Justen <[email protected]>
Cc: "10.2" <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81450
Tested-by: Ben Widawsky <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/glx/xf86dristr.h')
0 files changed, 0 insertions, 0 deletions