mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
clover/nir: Don't remove texture variables
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13389>
This commit is contained in:
parent
3c398139e1
commit
99cda38c81
1 changed files with 3 additions and 1 deletions
|
|
@ -421,7 +421,9 @@ nir_shader *clover::nir::load_libclc_nir(const device &dev, std::string &r_log)
|
|||
static bool
|
||||
can_remove_var(nir_variable *var, void *data)
|
||||
{
|
||||
return !(var->type->is_sampler() || var->type->is_image());
|
||||
return !(var->type->is_sampler() ||
|
||||
var->type->is_texture() ||
|
||||
var->type->is_image());
|
||||
}
|
||||
|
||||
binary clover::nir::spirv_to_nir(const binary &mod, const device &dev,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue