Merge commit mesa-public/master into vulkan
[mesa.git] / src / compiler / glsl / ast_to_hir.cpp
index dfd31966eb0fa19e72b7d9621aa9246a43d366b6..98d8bc5f2681dbcf2888fb478f3b2604641cb52e 100644 (file)
@@ -1129,6 +1129,7 @@ do_comparison(void *mem_ctx, int operation, ir_rvalue *op0, ir_rvalue *op1)
    case GLSL_TYPE_SAMPLER:
    case GLSL_TYPE_IMAGE:
    case GLSL_TYPE_INTERFACE:
+   case GLSL_TYPE_FUNCTION:
    case GLSL_TYPE_ATOMIC_UINT:
    case GLSL_TYPE_SUBROUTINE:
       /* I assume a comparison of a struct containing a sampler just