[Mesa-dev] [PATCH 14/27] glsl/ast: add 64-bit integer support in some places.
Dave Airlie
airlied at gmail.com
Mon Jun 20 05:07:00 UTC 2016
From: Dave Airlie <airlied at redhat.com>
Just add support in two more places in ast parsing.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/compiler/glsl/ast_to_hir.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index 82fc922..3380a1a 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src/compiler/glsl/ast_to_hir.cpp
@@ -3784,6 +3784,8 @@ apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,
"varying variables may not be of type struct");
break;
case GLSL_TYPE_DOUBLE:
+ case GLSL_TYPE_UINT64:
+ case GLSL_TYPE_INT64:
break;
default:
_mesa_glsl_error(loc, state, "illegal type for a varying variable");
@@ -4807,6 +4809,9 @@ ast_declarator_list::hir(exec_list *instructions,
switch (check_type->base_type) {
case GLSL_TYPE_FLOAT:
break;
+ case GLSL_TYPE_UINT64:
+ case GLSL_TYPE_INT64:
+ break;
case GLSL_TYPE_UINT:
case GLSL_TYPE_INT:
if (state->is_version(120, 300))
--
2.5.5
More information about the mesa-dev
mailing list