diff options
author | Ilia Mirkin <[email protected]> | 2015-09-17 01:43:36 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-11-18 14:31:13 -0500 |
commit | 9c409c8df3db09c2922a8f9a0376ee91b2a6837c (patch) | |
tree | 9fb99814dda38d89b6c993b3e3c0051befd834b1 /src/gallium/drivers/nouveau/nv30 | |
parent | d69e557f2a2c39888d83c7b52244412ee2a5594e (diff) |
freedreno/a3xx: fix texture buffers, enable offsets
The main issue is that the current logic looked into cso->u.tex, which
is the wrong side of the union to look into for texture buffers. While I
was at it, it was easy enough to add the logic to handle offsets
(first_element).
- reduce texture buffer size limit (determined experimentally)
- don't look at first/last levels, instead look at first/last element
- include the first element offset
- set offset alignment to 16 (determined experimentally)
Signed-off-by: Ilia Mirkin <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv30')
0 files changed, 0 insertions, 0 deletions