Merge branch 'master' of ../mesa into vulkan
[mesa.git] / src / glsl / ast_to_hir.cpp
index 6899a554f2c92cb5779bfa42c4301855be6c304a..351aafc1a72aee29aa274403725ed8b5453da5db 100644 (file)
@@ -1084,6 +1084,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