glsl: Add basic ARB_gpu_shader_int64 types
authorDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2016 20:38:57 +0000 (06:38 +1000)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Jan 2017 23:41:23 +0000 (15:41 -0800)
commit8ce53d4a2f3f44b8fa00a6a04ec0816f38d788db
treef3a9e5801ddaad1c85a304f90a282d2e93ab41ab
parente90830bb8eb6b143551152916ad9eafbee7731b5
glsl: Add basic ARB_gpu_shader_int64 types

This adds the builtins and the lexer support.

To avoid too many warnings, it adds basic support to the type in a few
other places in mesa, mostly in the trivial places.

It also adds a query to be used later for if a type is an integer 32 or 64.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/builtin_type_macros.h
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/builtin_types.cpp
src/compiler/glsl/glsl_lexer.ll
src/compiler/glsl/glsl_parser.yy
src/compiler/glsl/ir_clone.cpp
src/compiler/glsl/link_uniform_initializers.cpp
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_types.cpp