diff options
author | Ilia Mirkin <[email protected]> | 2015-03-15 16:38:42 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-03-28 14:54:41 -0400 |
commit | 738c8319ac85b175994b35d1fdc4860e18184b93 (patch) | |
tree | fa4e619e073edd5ee486a7fde3f2c0cd5ace8f45 /src/gallium/drivers/freedreno/freedreno_program.c | |
parent | 3735643df3fc29d7ce84b2156c53f23a3092765c (diff) |
freedreno/a3xx: fix 3d texture layout
The SZ2 field contains the layer size of a lower miplevel. It only
contains 4 bits, which limits the maximum layer size it can describe. In
situations where the next miplevel would be too big, the hardware
appears to keep minifying the size until it hits one of that size.
Unfortunately the hardware's ideas about sizes can differ from
freedreno's which can still lead to issues. Minimize those by stopping
to minify as soon as possible.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "10.4 10.5" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_program.c')
0 files changed, 0 insertions, 0 deletions