mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
pan/bi: clean up NIR
txf_ms(BUFFER) doesn't exist. while in the area. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38313>
This commit is contained in:
parent
11e5f0b60d
commit
013a6bfc70
1 changed files with 1 additions and 8 deletions
|
|
@ -6218,14 +6218,7 @@ void bifrost_lower_texture_nir(nir_shader *nir, unsigned gpu_id)
|
|||
static bool
|
||||
lower_texel_buffer_fetch(nir_builder *b, nir_tex_instr *tex, void *data)
|
||||
{
|
||||
switch (tex->op) {
|
||||
case nir_texop_txf:
|
||||
case nir_texop_txf_ms:
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
if (tex->sampler_dim != GLSL_SAMPLER_DIM_BUF)
|
||||
if (tex->op != nir_texop_txf || tex->sampler_dim != GLSL_SAMPLER_DIM_BUF)
|
||||
return false;
|
||||
|
||||
b->cursor = nir_before_instr(&tex->instr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue