summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-08-27 23:03:46 -0400
committerIlia Mirkin <[email protected]>2015-09-10 17:38:29 -0400
commitf9052914e979228d28502a7f7953f98ff4731f99 (patch)
tree5e7025e5de5eb58f93e6ab9f0df9dae16e4521bc /src/glsl/ir_clone.cpp
parent6efae687b7ef46eb1f738f1bc2acbde1805e364b (diff)
glsl: add ir_texture_samples texture opcode
Will be used for textureSamples() Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r--src/glsl/ir_clone.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
index a8fac183a8d..a2cd672d5d6 100644
--- a/src/glsl/ir_clone.cpp
+++ b/src/glsl/ir_clone.cpp
@@ -222,6 +222,7 @@ ir_texture::clone(void *mem_ctx, struct hash_table *ht) const
case ir_tex:
case ir_lod:
case ir_query_levels:
+ case ir_texture_samples:
break;
case ir_txb:
new_tex->lod_info.bias = this->lod_info.bias->clone(mem_ctx, ht);