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>
This commit is contained in:
committed by
Ian Romanick
parent
e90830bb8e
commit
8ce53d4a2f
@@ -70,6 +70,8 @@ copy_constant_to_storage(union gl_constant_value *storage,
|
||||
case GLSL_TYPE_BOOL:
|
||||
storage[i].b = val->value.b[i] ? boolean_true : 0;
|
||||
break;
|
||||
case GLSL_TYPE_INT64:
|
||||
case GLSL_TYPE_UINT64:
|
||||
case GLSL_TYPE_ARRAY:
|
||||
case GLSL_TYPE_STRUCT:
|
||||
case GLSL_TYPE_IMAGE:
|
||||
|
||||
Reference in New Issue
Block a user