diff options
author | Ilia Mirkin <[email protected]> | 2015-11-20 21:34:20 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-11-21 09:08:16 -0500 |
commit | 740eb63aa78a48bae5248b72f023d725ed82d1b3 (patch) | |
tree | d38f58e5fbd2d2c177500aaadb49757e22c87354 /src/gallium/drivers/freedreno/a4xx/fd4_texture.h | |
parent | ecb0dcd34c9bb31b240a213cd17c236b224cd290 (diff) |
freedreno/a4xx: fix 3d texture setup
Same fix as on a3xx - set the second (tiny) layer size bitfield to the
smallest level's size so that the hw knows not to minify beyond that.
This fixes texelFetch sampler3D piglits.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/fd4_texture.h')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_texture.h b/src/gallium/drivers/freedreno/a4xx/fd4_texture.h index 31955770a85..d74d88701a8 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_texture.h +++ b/src/gallium/drivers/freedreno/a4xx/fd4_texture.h @@ -51,7 +51,7 @@ fd4_sampler_stateobj(struct pipe_sampler_state *samp) struct fd4_pipe_sampler_view { struct pipe_sampler_view base; - uint32_t texconst0, texconst1, texconst2, texconst3, textconst4; + uint32_t texconst0, texconst1, texconst2, texconst3, texconst4; }; static inline struct fd4_pipe_sampler_view * |