Skip to content

etnaviv: add gpu_supports_texture_target(..)

Christian Gmeiner requested to merge austriancoder/mesa:fixes into master

Currently I am seeing a handful of the following debug message: translate_texture_target:495: Unhandled texture target: 0

PIPE_BUFFER is not handled in translate_texture_target(..) which makes sense as it is used to translate from PIPE_XXX to GPU specific value during etna_create_sampler_view_state(..).

To fix this problem introduce gpu_supports_texture_target(..) which just checks if the texture target is supported.

Fixes: dfe04805 ("etnaviv: support 3D and 2D array textures") Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com

Edited by Christian Gmeiner

Merge request reports

Loading