mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
u_blitter: don't create illegal shaders for 1D/3D/RECT/CUBE MSAA
Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
998d975e38
commit
e21460b4d5
1 changed files with 5 additions and 0 deletions
|
|
@ -924,6 +924,11 @@ void util_blitter_cache_all_shaders(struct blitter_context *blitter)
|
|||
(target == PIPE_TEXTURE_CUBE_ARRAY))
|
||||
continue;
|
||||
|
||||
if (i > 1 &&
|
||||
(target != PIPE_TEXTURE_2D &&
|
||||
target != PIPE_TEXTURE_2D_ARRAY))
|
||||
continue;
|
||||
|
||||
blitter_get_fs_texfetch_col(ctx, target, i);
|
||||
blitter_get_fs_texfetch_depth(ctx, target, i);
|
||||
if (ctx->has_stencil_export) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue