glsl: ir_texture add clamp field
For ARB_sparse_texture_clamp to hold the lodClamp parameter. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14488>
This commit is contained in:
@@ -218,9 +218,10 @@ ir_texture::clone(void *mem_ctx, struct hash_table *ht) const
|
||||
new_tex->coordinate = this->coordinate->clone(mem_ctx, ht);
|
||||
if (this->projector)
|
||||
new_tex->projector = this->projector->clone(mem_ctx, ht);
|
||||
if (this->shadow_comparator) {
|
||||
if (this->shadow_comparator)
|
||||
new_tex->shadow_comparator = this->shadow_comparator->clone(mem_ctx, ht);
|
||||
}
|
||||
if (this->clamp)
|
||||
new_tex->clamp = this->clamp->clone(mem_ctx, ht);
|
||||
|
||||
if (this->offset != NULL)
|
||||
new_tex->offset = this->offset->clone(mem_ctx, ht);
|
||||
|
Reference in New Issue
Block a user