Ben Widawsky writes:
>> + if (mt->target == GL_TEXTURE_3D)
>> + depth = minify(depth, 1);
>> }
>> }
>
> assert(brw->gen >= 9)? (up to you, I'm very assert happy)
Yes, that seems like a good idea.
>>
>> @@ -263,7 +266,7 @@ brw_miptree_layout_texture_array(struct brw_context *
On Fri, Feb 20, 2015 at 10:31:03PM +, Neil Roberts wrote:
> On Gen9+ the 3D textures use the same mipmap layout as 2D array
> textures.
> ---
> src/mesa/drivers/dri/i965/brw_tex_layout.c | 10 --
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i
On Gen9+ the 3D textures use the same mipmap layout as 2D array
textures.
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 0e2