summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-01-22 16:22:40 +1100
committerTimothy Arceri <[email protected]>2016-03-31 12:50:54 +1100
commit4a873ef049bce855e8b5f254d428956de8ce45f8 (patch)
tree1748fbee6492180a5293705d92adae4426443541 /src/compiler
parent598790e8564280b8f3f105c0ff6de9fff4d45e30 (diff)
glsl: add xfb qualifiers to has_layout helper
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/ast_type.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp
index 9f0f578be86..c3d38cbbf8a 100644
--- a/src/compiler/glsl/ast_type.cpp
+++ b/src/compiler/glsl/ast_type.cpp
@@ -79,7 +79,10 @@ ast_type_qualifier::has_layout() const
|| this->flags.q.explicit_index
|| this->flags.q.explicit_binding
|| this->flags.q.explicit_offset
- || this->flags.q.explicit_stream;
+ || this->flags.q.explicit_stream
+ || this->flags.q.explicit_xfb_buffer
+ || this->flags.q.explicit_xfb_offset
+ || this->flags.q.explicit_xfb_stride;
}
bool