| /third_party/mesa3d/src/compiler/glsl/ |
| D | ir_function.cpp | 32 PARAMETER_LIST_INEXACT_MATCH /*< Match requires implicit conversion. */ 44 const exec_list *list_a, const exec_list *list_b) in parameter_lists_match() 46 const exec_node *node_a = list_a->get_head_raw(); in parameter_lists_match() 47 const exec_node *node_b = list_b->get_head_raw(); in parameter_lists_match() 49 /* This is set to true if there is an inexact match requiring an implicit in parameter_lists_match() 50 * conversion. */ in parameter_lists_match() 54 ; !node_a->is_tail_sentinel() in parameter_lists_match() 55 ; node_a = node_a->next, node_b = node_b->next) { in parameter_lists_match() 60 if (node_b->is_tail_sentinel()) in parameter_lists_match() 64 const ir_variable *const param = (ir_variable *) node_a; in parameter_lists_match() [all …]
|
| /third_party/openGLES/extensions/EXT/ |
| D | EXT_shader_implicit_conversions.txt | 21 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 24 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 49 types to unsigned types, as well as more general implicit conversion and 69 4.1.10 Implicit Conversions 73 implicit conversions: 77 --------------------- ----------------- 78 int uint, float 82 uint float 87 No implicit conversions are provided to convert from unsigned to signed 88 integer types or from floating-point to integer types. There are no [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
| D | EXT_shader_implicit_conversions.txt | 21 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 24 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 49 types to unsigned types, as well as more general implicit conversion and 69 4.1.10 Implicit Conversions 73 implicit conversions: 77 --------------------- ----------------- 78 int uint, float 82 uint float 87 No implicit conversions are provided to convert from unsigned to signed 88 integer types or from floating-point to integer types. There are no [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/MESA/ |
| D | MESA_shader_integer_functions.txt | 66 types, as well as more general implicit conversion and function 70 * new built-in functions supporting: 72 * splitting a floating-point number into a significand and exponent 73 (frexp), or building a floating-point number from a significand and 108 (Per-Fragment Operations and the Frame Buffer) 146 Modify Section 4.1.10, Implicit Conversions, p. 27 148 (modify table of implicit conversions) 152 --------------------- ----------------- 153 int uint, float 158 uint float [all …]
|
| /third_party/openGLES/extensions/MESA/ |
| D | MESA_shader_integer_functions.txt | 66 types, as well as more general implicit conversion and function 70 * new built-in functions supporting: 72 * splitting a floating-point number into a significand and exponent 73 (frexp), or building a floating-point number from a significand and 108 (Per-Fragment Operations and the Frame Buffer) 146 Modify Section 4.1.10, Implicit Conversions, p. 27 148 (modify table of implicit conversions) 152 --------------------- ----------------- 153 int uint, float 158 uint float [all …]
|
| /third_party/mesa3d/docs/_extra/specs/ |
| D | MESA_shader_integer_functions.txt | 66 types, as well as more general implicit conversion and function 70 * new built-in functions supporting: 72 * splitting a floating-point number into a significand and exponent 73 (frexp), or building a floating-point number from a significand and 108 (Per-Fragment Operations and the Frame Buffer) 146 Modify Section 4.1.10, Implicit Conversions, p. 27 148 (modify table of implicit conversions) 152 --------------------- ----------------- 153 int uint, float 158 uint float [all …]
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
| D | casts.h | 8 // https://www.apache.org/licenses/LICENSE-2.0 16 // ----------------------------------------------------------------------------- 18 // ----------------------------------------------------------------------------- 54 // Performs an implicit conversion between types following the language 55 // rules for implicit conversion; if an implicit conversion is otherwise 57 // implicit conversion. 61 // // If the context allows implicit conversion: 69 // that, although safe, may produce compiler warnings (such as `long` to `int`). 71 // indicate a specific implicit conversion is being undertaken. 85 // Finally, an `implicit_cast()` can be used to perform implicit conversions [all …]
|
| /third_party/vixl/src/aarch32/ |
| D | operands-aarch32.h | 31 #include "aarch32/instructions-aarch32.h" 46 // #<imm> - an unsigned 32-bit immediate value 47 // <Rm>, <shift> <#amount> - immediate shifted register 48 // <Rm>, <shift> <Rs> - register shifted register 54 // This is allowed to be an implicit constructor because Operand is 55 // a wrapper class that doesn't normally perform any type conversion. 63 // This is allowed to be an implicit constructor because Operand is 64 // a wrapper class that doesn't normally perform any type conversion. 128 // static_cast to make sure the compiler does not complain about implicit 64 in From() 129 // to 32 narrowing. It's perfectly acceptable for the user to pass a 64-bit in From() [all …]
|
| /third_party/openGLES/extensions/NV/ |
| D | NV_gpu_shader5.txt | 69 If implemented in OpenGL ES, OES/EXT_gpu_shader5 and EXT_shader_implicit- 96 * support for a full set of 8-, 16-, 32-, and 64-bit scalar and vector 101 arbitrary expressions, and not require that non-constant indices be 104 * new built-in functions to pack and unpack 64-bit integer types into a 105 two-component 32-bit integer vector; 107 * new built-in functions to pack and unpack 32-bit unsigned integer 108 types into a two-component 16-bit floating-point vector; 110 * new built-in functions to convert double-precision floating-point 111 values to or from their 64-bit integer bit encodings; 113 * new built-in functions to compute the composite of a set of boolean [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
| D | NV_gpu_shader5.txt | 69 If implemented in OpenGL ES, OES/EXT_gpu_shader5 and EXT_shader_implicit- 96 * support for a full set of 8-, 16-, 32-, and 64-bit scalar and vector 101 arbitrary expressions, and not require that non-constant indices be 104 * new built-in functions to pack and unpack 64-bit integer types into a 105 two-component 32-bit integer vector; 107 * new built-in functions to pack and unpack 32-bit unsigned integer 108 types into a two-component 16-bit floating-point vector; 110 * new built-in functions to convert double-precision floating-point 111 values to or from their 64-bit integer bit encodings; 113 * new built-in functions to compute the composite of a set of boolean [all …]
|
| /third_party/openGLES/extensions/ARB/ |
| D | ARB_gpu_shader5.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 34 Khronos-approved extension specifications are updated in response to 86 * support for indexing into arrays of samplers using non-constant 94 types, as well as more general implicit conversion and function 99 as specified in the shader source to avoid optimization-induced 102 * new built-in functions supporting: 104 * fused floating-point multiply-add operations; 106 * splitting a floating-point number into a significand and exponent 107 (frexp), or building a floating-point number from a significand and [all …]
|
| D | ARB_gpu_shader_fp64.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 34 Khronos-approved extension specifications are updated in response to 72 This extension allows GLSL shaders to use double-precision floating-point 77 on double-precision scalar, vector, and matrix types, and provides a set 78 of built-in functions including: 82 * fused floating-point multiply-add operations; 84 * splitting a floating-point number into a significand and exponent 85 (frexp), or building a floating-point number from a significand and 92 * packing and unpacking doubles into a pair of 32-bit unsigned integers; [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
| D | ARB_gpu_shader5.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 76 * support for indexing into arrays of samplers using non-constant 84 types, as well as more general implicit conversion and function 89 as specified in the shader source to avoid optimization-induced 92 * new built-in functions supporting: 94 * fused floating-point multiply-add operations; 96 * splitting a floating-point number into a significand and exponent 97 (frexp), or building a floating-point number from a significand and 104 * packing and unpacking vectors of small fixed-point data types into a [all …]
|
| D | ARB_gpu_shader_fp64.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 62 This extension allows GLSL shaders to use double-precision floating-point 67 on double-precision scalar, vector, and matrix types, and provides a set 68 of built-in functions including: 72 * fused floating-point multiply-add operations; 74 * splitting a floating-point number into a significand and exponent 75 (frexp), or building a floating-point number from a significand and 82 * packing and unpacking doubles into a pair of 32-bit unsigned integers; 84 * matrix component-wise multiplication, and computation of outer [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| D | util.h | 3 // Use of this source code is governed by a BSD-style license that can be 22 bool atoi_clamp(const char *str, unsigned int *value); 27 // Keeps track of whether an implicit conversion from int/uint to float is possible. 42 float NumericLexFloat32OutOfRangeToInfinity(const std::string &str); 50 bool strtof_clamp(const std::string &str, float *value); 52 GLenum GLVariableType(const TType &type); 53 GLenum GLVariablePrecision(const TType &type); 67 ImmutableString ArrayString(const TType &type); 69 ImmutableString GetTypeName(const TType &type, ShHashFunction64 hashFunction, NameMap *nameMap); 71 TType GetShaderVariableBasicType(const sh::ShaderVariable &var); [all …]
|
| /third_party/glslang/Test/ |
| D | vulkan.ast.vert | 3 layout(constant_id = 200) const float scf1 = 1.0; 4 layout(constant_id = 201) const bool scbt = true; 5 layout(constant_id = 202) const int sci2 = 2; 9 bool(scf1); // not a spec-const 10 bool(scbt); // spec-const 11 bool(sci2); // spec-const 13 float(scf1); // not a spec-const 14 float(scbt); // not a spec-const 15 float(sci2); // not a spec-const 17 int(scf1); // not a spec-const [all …]
|
| D | 420.geom | 5 int i; 31 const ivec2 offsets[5] = 34 ivec2(1,-2), 36 ivec2(-3,0), 44 v4.xy; // should have non-uniform type 48 float gl_PointSize[1]; // ERROR, adding array 49 float gl_ClipDistance; // ERROR, removing array 52 float foo5() 54 return i; // implicit conversion of return type
|
| /third_party/glslang/Test/baseResults/ |
| D | hlsl.intrinsics.negative.frag.out | 2 ERROR: 0:10: 'determinant' : ambiguous best function under implicit type conversion 3 ERROR: 0:25: 'normalize' : ambiguous best function under implicit type conversion 4 ERROR: 0:26: 'reflect' : ambiguous best function under implicit type conversion 5 ERROR: 0:27: 'refract' : ambiguous best function under implicit type conversion 7 ERROR: 0:30: 'transpose' : ambiguous best function under implicit type conversion 9 ERROR: 0:46: 'asdouble' : double2 conversion not implemented 67 0:2 Function Definition: PixelShaderFunctionS(f1;f1;f1;i1; ( temp float) 69 0:2 'inF0' ( in float) 70 0:2 'inF1' ( in float) 71 0:2 'inF2' ( in float) [all …]
|
| D | findFunction.frag.out | 2 ERROR: 0:39: 'func' : ambiguous best function under implicit type conversion 4 ERROR: 0:40: '=' : cannot convert from ' const float' to ' temp int64_t' 6 ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp int64_t' 8 ERROR: 0:44: '=' : cannot convert from ' const float' to ' temp int64_t' 9 ERROR: 0:45: 'func' : ambiguous best function under implicit type conversion 24 0:7 inclusive-or ( temp int16_t) 34 0:10 'c' ( in int) 37 0:12 Convert int to int64 ( temp int64_t) 38 0:12 inclusive-or ( temp int) 39 0:12 Convert int8_t to int ( temp int) [all …]
|
| /third_party/vixl/src/ |
| D | utils-vixl.cc | 27 #include "utils-vixl.h" 34 const double kFP64DefaultNaN = RawbitsToDouble(UINT64_C(0x7ff8000000000000)); 35 const float kFP32DefaultNaN = RawbitsToFloat(0x7fc00000); 36 const Float16 kFP16DefaultNaN = RawbitsToFloat16(0x7e00); 38 // Floating-point zero values. 39 const Float16 kFP16PositiveZero = RawbitsToFloat16(0x0); 40 const Float16 kFP16NegativeZero = RawbitsToFloat16(0x8000); 42 // Floating-point infinity values. 43 const Float16 kFP16PositiveInfinity = RawbitsToFloat16(0x7c00); 44 const Float16 kFP16NegativeInfinity = RawbitsToFloat16(0xfc00); [all …]
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ci/ |
| D | d3d12-quick_shader.txt | 1 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-float-float-float: skip 2 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-int-int-int: skip 3 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-ivec2-ivec2-ivec2: skip 4 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-ivec3-ivec3-ivec3: skip 5 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-ivec4-ivec4-ivec4: skip 6 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-uint-uint-uint: skip 7 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-uvec2-uvec2-uvec2: skip 8 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-uvec3-uvec3-uvec3: skip 9 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-uvec4-uvec4-uvec4: skip 10 spec/amd_shader_trinary_minmax/execution/built-in-functions/cs-max3-vec2-vec2-vec2: skip [all …]
|
| /third_party/vk-gl-cts/framework/common/ |
| D | tcuFloat.hpp | 3 /*------------------------------------------------------------------------- 5 * ---------------------------------------- 13 * http://www.apache.org/licenses/LICENSE-2.0 23 * \brief Reconfigurable floating-point value template. 24 *//*--------------------------------------------------------------------*/ 43 ROUND_DOWNWARD, // Towards -Inf. 48 /*--------------------------------------------------------------------*//*! 49 * \brief Floating-point format template 51 * This template implements arbitrary floating-point handling. Template 52 * can be used for conversion between different formats and checking [all …]
|
| /third_party/mesa3d/src/intel/compiler/ |
| D | brw_eu_validate.c | 2 * Copyright © 2015-2019 Intel Corporation 51 cat(struct string *dest, const struct string src) in cat() 53 dest->str = realloc(dest->str, dest->len + src.len + 1); in cat() 54 memcpy(dest->str + dest->len, src.str, src.len); in cat() 55 dest->str[dest->len + src.len] = '\0'; in cat() 56 dest->len = dest->len + src.len; in cat() 61 contains(const struct string haystack, const struct string needle) in contains() 89 #define STRIDE(stride) (stride != 0 ? 1 << ((stride) - 1) : 0) 93 inst_is_send(const struct brw_isa_info *isa, const brw_inst *inst) in inst_is_send() 107 inst_is_split_send(const struct brw_isa_info *isa, const brw_inst *inst) in inst_is_split_send() [all …]
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| D | test-iter.cc | 28 #include "hb-iter.hh" 30 #include "hb-array.hh" 31 #include "hb-set.hh" 32 #include "hb-ot-layout-common.hh" 42 T& __item_at__ (unsigned i) const { return arr[i]; } in __item_at__() 44 void __rewind__ (unsigned n) { arr -= n; } in __rewind__() 45 unsigned __len__ () const { return arr.length; } in __len__() 46 bool operator != (const array_iter_t& o) { return arr != o.arr; } in operator !=() 80 /* Range-based for over a copy. */ in test_iterator_non_default_constructable() 108 test_iterable (const Iterable &lst = Null (Iterable)) in test_iterable() [all …]
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
| D | int128.h | 8 // https://www.apache.org/licenses/LICENSE-2.0 16 // ----------------------------------------------------------------------------- 18 // ----------------------------------------------------------------------------- 20 // This header file defines 128-bit integer types, `uint128` and `int128`. 22 // TODO(absl-team): This module is inconsistent as many inline `uint128` methods 62 // An unsigned 128-bit integer type. The API is meant to mimic an intrinsic type 65 // drop-in replacement once C++ supports an intrinsic `uint128_t` type; when 66 // that occurs, existing well-behaved uses of `uint128` will continue to work 75 // * Implicit construction from integral types 76 // * Explicit conversion to integral types [all …]
|