Skip to content

lvp: avoid redundant sampler views and image views

Yiwei Zhang requested to merge zzyiwei/mesa:fix-lvp-sv-binding into main

Align the sampler view creation condition with the image and buffer creation usage which maps to PIPE_BIND_SAMPLER_VIEW, which fixes the spam of "Illegal sampler view creation without bind flag". Also fix the PIPE_BIND_SHADER_IMAGE assignment for image usage bits and avoid setting the image view struct if without PIPE_BIND_SHADER_IMAGE.

Signed-off-by: Yiwei Zhang zzyiwei@chromium.org

Edited by Yiwei Zhang

Merge request reports