Browse Source

pan/midgard: Set .shadow for shadow samplers

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125>
master
Alyssa Rosenzweig 7 years ago
parent
commit
1a53bed41c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/panfrost/midgard/midgard_compile.c

+ 1
- 0
src/panfrost/midgard/midgard_compile.c View File

@@ -1725,6 +1725,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr,
.out_full = 1,

.sampler_type = midgard_sampler_type(instr->dest_type),
.shadow = instr->is_shadow,
}
};


Loading…
Cancel
Save