/third_party/glslang/glslang/Include/ |
D | ConstantUnion.h | 210 bool operator==(const TConstUnion& constant) const 212 if (constant.type != type) 217 if (constant.iConst == iConst) 222 if (constant.uConst == uConst) 227 if (constant.bConst == bConst) 232 if (constant.dConst == dConst) 239 if (constant.i16Const == i16Const) 244 if (constant.u16Const == u16Const) 249 if (constant.i8Const == i8Const) 254 if (constant.u8Const == u8Const) [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 33 bool cast(TBasicType newType, const ConstantUnion &constant) in cast() argument 38 switch (constant.type) in cast() 40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; in cast() 41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break; in cast() 42 case EbtBool: setFConst(static_cast<float>(constant.getBConst())); break; in cast() 43 case EbtFloat: setFConst(static_cast<float>(constant.getFConst())); break; in cast() 48 switch (constant.type) in cast() 50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast() 51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast() 52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | vulkan.ast.vert.out | 8 0:9 'scf1' ( specialization-constant const highp float) 10 0:10 Construct bool ( specialization-constant const bool) 11 0:10 'scbt' ( specialization-constant const bool) 13 0:11 Convert int to bool ( specialization-constant const bool) 14 0:11 'sci2' ( specialization-constant const highp int) 17 0:13 'scf1' ( specialization-constant const highp float) 20 0:14 'scbt' ( specialization-constant const bool) 23 0:15 'sci2' ( specialization-constant const highp int) 26 0:17 'scf1' ( specialization-constant const highp float) 28 0:18 Convert bool to int ( specialization-constant const int) [all …]
|
D | rayQuery-committed.Error.rgen.out | 2 ERROR: 0:48: 'committed' : argument must be compile-time constant 3 ERROR: 0:53: 'committed' : argument must be compile-time constant 4 ERROR: 0:54: 'committed' : argument must be compile-time constant 5 ERROR: 0:58: 'committed' : argument must be compile-time constant 6 ERROR: 0:62: 'committed' : argument must be compile-time constant 7 ERROR: 0:66: 'committed' : argument must be compile-time constant 8 ERROR: 0:70: 'committed' : argument must be compile-time constant 9 ERROR: 0:74: 'committed' : argument must be compile-time constant 10 ERROR: 0:78: 'committed' : argument must be compile-time constant 11 ERROR: 0:82: 'committed' : argument must be compile-time constant [all …]
|
D | 100LimitsConf.vert.out | 4 …nductive-loop init-declaration requires the form "type-specifier loop-index = constant-expression" 5 …nductive-loop init-declaration requires the form "type-specifier loop-index = constant-expression" 6 …nductive-loop init-declaration requires the form "type-specifier loop-index = constant-expression" 7 …nductive-loop init-declaration requires the form "type-specifier loop-index = constant-expression" 9 …ons' : inductive-loop condition requires the form "loop-index <comparison-op> constant-expression" 10 … the form "loop-index++, loop-index--, loop-index += constant-expression, or loop-index -= constan… 14 ERROR: 0:47: 'limitations' : Non-constant-index-expression 15 ERROR: 0:49: 'limitations' : Non-constant-index-expression 16 ERROR: 0:50: 'limitations' : Non-constant-index-expression 17 ERROR: 0:51: 'limitations' : Non-constant-index-expression [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vulkan/frag/ |
D | spec-constant.vk.frag | 6 constant float a_tmp [[function_constant(1)]]; 7 constant float a = is_function_constant_defined(a_tmp) ? a_tmp : 1.0; 8 constant float b_tmp [[function_constant(2)]]; 9 constant float b = is_function_constant_defined(b_tmp) ? b_tmp : 2.0; 10 constant int c_tmp [[function_constant(3)]]; 11 constant int c = is_function_constant_defined(c_tmp) ? c_tmp : 3; 12 constant uint _18 = (uint(c) + 0u); 13 constant int _21 = (-c); 14 constant int _23 = (~c); 15 constant int d_tmp [[function_constant(4)]]; [all …]
|
D | spec-constant.msl11.vk.frag | 9 constant float a = SPIRV_CROSS_CONSTANT_ID_1; 13 constant float b = SPIRV_CROSS_CONSTANT_ID_2; 17 constant int c = SPIRV_CROSS_CONSTANT_ID_3; 18 constant uint _18 = (uint(c) + 0u); 19 constant int _21 = (-c); 20 constant int _23 = (~c); 24 constant int d = SPIRV_CROSS_CONSTANT_ID_4; 25 constant int _26 = (c + d); 26 constant int _28 = (c - d); 27 constant int _30 = (c * d); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/wasm/ |
D | spirv-tools.cpp | 57 constant("SPV_ENV_UNIVERSAL_1_0", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_0)); in EMSCRIPTEN_BINDINGS() 58 constant("SPV_ENV_VULKAN_1_0", static_cast<uint32_t>(SPV_ENV_VULKAN_1_0)); in EMSCRIPTEN_BINDINGS() 59 constant("SPV_ENV_UNIVERSAL_1_1", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_1)); in EMSCRIPTEN_BINDINGS() 60 constant("SPV_ENV_OPENCL_2_1", static_cast<uint32_t>(SPV_ENV_OPENCL_2_1)); in EMSCRIPTEN_BINDINGS() 61 constant("SPV_ENV_OPENCL_2_2", static_cast<uint32_t>(SPV_ENV_OPENCL_2_2)); in EMSCRIPTEN_BINDINGS() 62 constant("SPV_ENV_OPENGL_4_0", static_cast<uint32_t>(SPV_ENV_OPENGL_4_0)); in EMSCRIPTEN_BINDINGS() 63 constant("SPV_ENV_OPENGL_4_1", static_cast<uint32_t>(SPV_ENV_OPENGL_4_1)); in EMSCRIPTEN_BINDINGS() 64 constant("SPV_ENV_OPENGL_4_2", static_cast<uint32_t>(SPV_ENV_OPENGL_4_2)); in EMSCRIPTEN_BINDINGS() 65 constant("SPV_ENV_OPENGL_4_3", static_cast<uint32_t>(SPV_ENV_OPENGL_4_3)); in EMSCRIPTEN_BINDINGS() 66 constant("SPV_ENV_OPENGL_4_5", static_cast<uint32_t>(SPV_ENV_OPENGL_4_5)); in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/wasm/ |
D | spirv-tools.cpp | 57 constant("SPV_ENV_UNIVERSAL_1_0", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_0)); in EMSCRIPTEN_BINDINGS() 58 constant("SPV_ENV_VULKAN_1_0", static_cast<uint32_t>(SPV_ENV_VULKAN_1_0)); in EMSCRIPTEN_BINDINGS() 59 constant("SPV_ENV_UNIVERSAL_1_1", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_1)); in EMSCRIPTEN_BINDINGS() 60 constant("SPV_ENV_OPENCL_2_1", static_cast<uint32_t>(SPV_ENV_OPENCL_2_1)); in EMSCRIPTEN_BINDINGS() 61 constant("SPV_ENV_OPENCL_2_2", static_cast<uint32_t>(SPV_ENV_OPENCL_2_2)); in EMSCRIPTEN_BINDINGS() 62 constant("SPV_ENV_OPENGL_4_0", static_cast<uint32_t>(SPV_ENV_OPENGL_4_0)); in EMSCRIPTEN_BINDINGS() 63 constant("SPV_ENV_OPENGL_4_1", static_cast<uint32_t>(SPV_ENV_OPENGL_4_1)); in EMSCRIPTEN_BINDINGS() 64 constant("SPV_ENV_OPENGL_4_2", static_cast<uint32_t>(SPV_ENV_OPENGL_4_2)); in EMSCRIPTEN_BINDINGS() 65 constant("SPV_ENV_OPENGL_4_3", static_cast<uint32_t>(SPV_ENV_OPENGL_4_3)); in EMSCRIPTEN_BINDINGS() 66 constant("SPV_ENV_OPENGL_4_5", static_cast<uint32_t>(SPV_ENV_OPENGL_4_5)); in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_packing_builtins.cpp | 195 constant(T x) in constant() function in __anon784291ae0111::lower_packing_builtins_visitor 197 return factory.constant(x); in constant() 218 return bitfield_insert(bit_and(swizzle_x(u), constant(0xffffu)), in pack_uvec2_to_uint() 220 constant(16u), in pack_uvec2_to_uint() 221 constant(16u)); in pack_uvec2_to_uint() 225 return bit_or(lshift(swizzle_y(u), constant(16u)), in pack_uvec2_to_uint() 226 bit_and(swizzle_x(u), constant(0xffffu))); in pack_uvec2_to_uint() 250 bit_and(swizzle_x(u), constant(0xffu)), in pack_uvec4_to_uint() 251 swizzle_y(u), constant(8u), constant(8u)), in pack_uvec4_to_uint() 252 swizzle_z(u), constant(16u), constant(8u)), in pack_uvec4_to_uint() [all …]
|
D | opt_constant_propagation.cpp | 53 acp_entry(ir_variable *var, unsigned write_mask, ir_constant *constant) in acp_entry() argument 56 assert(constant); in acp_entry() 59 this->constant = constant; in acp_entry() 67 this->constant = src->constant; in acp_entry() 72 ir_constant *constant; member in __anonb87dc41f0111::acp_entry 139 ir_constant *constant = in constant_folding() local 141 if (constant) { in constant_folding() 142 *rvalue = constant; in constant_folding() 209 data.f[i] = found->constant->value.f[rhs_channel]; in constant_propagation() 212 data.f16[i] = found->constant->value.f16[rhs_channel]; in constant_propagation() [all …]
|
/third_party/spirv-tools/source/wasm/ |
D | spirv-tools.cpp | 57 constant("SPV_ENV_UNIVERSAL_1_0", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_0)); in EMSCRIPTEN_BINDINGS() 58 constant("SPV_ENV_VULKAN_1_0", static_cast<uint32_t>(SPV_ENV_VULKAN_1_0)); in EMSCRIPTEN_BINDINGS() 59 constant("SPV_ENV_UNIVERSAL_1_1", static_cast<uint32_t>(SPV_ENV_UNIVERSAL_1_1)); in EMSCRIPTEN_BINDINGS() 60 constant("SPV_ENV_OPENCL_2_1", static_cast<uint32_t>(SPV_ENV_OPENCL_2_1)); in EMSCRIPTEN_BINDINGS() 61 constant("SPV_ENV_OPENCL_2_2", static_cast<uint32_t>(SPV_ENV_OPENCL_2_2)); in EMSCRIPTEN_BINDINGS() 62 constant("SPV_ENV_OPENGL_4_0", static_cast<uint32_t>(SPV_ENV_OPENGL_4_0)); in EMSCRIPTEN_BINDINGS() 63 constant("SPV_ENV_OPENGL_4_1", static_cast<uint32_t>(SPV_ENV_OPENGL_4_1)); in EMSCRIPTEN_BINDINGS() 64 constant("SPV_ENV_OPENGL_4_2", static_cast<uint32_t>(SPV_ENV_OPENGL_4_2)); in EMSCRIPTEN_BINDINGS() 65 constant("SPV_ENV_OPENGL_4_3", static_cast<uint32_t>(SPV_ENV_OPENGL_4_3)); in EMSCRIPTEN_BINDINGS() 66 constant("SPV_ENV_OPENGL_4_5", static_cast<uint32_t>(SPV_ENV_OPENGL_4_5)); in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 131 bool TConstantUnion::cast(TBasicType newType, const TConstantUnion &constant) in cast() argument 136 switch (constant.type) in cast() 139 setFConst(static_cast<float>(constant.getIConst())); in cast() 142 setFConst(static_cast<float>(constant.getUConst())); in cast() 145 setFConst(static_cast<float>(constant.getBConst())); in cast() 148 setFConst(static_cast<float>(constant.getFConst())); in cast() 155 switch (constant.type) in cast() 158 setIConst(static_cast<int>(constant.getIConst())); in cast() 161 setIConst(static_cast<int>(constant.getUConst())); in cast() 164 setIConst(static_cast<int>(constant.getBConst())); in cast() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 135 bool TConstantUnion::cast(TBasicType newType, const TConstantUnion &constant) in cast() argument 140 switch (constant.type) in cast() 143 setFConst(static_cast<float>(constant.getIConst())); in cast() 146 setFConst(static_cast<float>(constant.getUConst())); in cast() 149 setFConst(static_cast<float>(constant.getBConst())); in cast() 152 setFConst(static_cast<float>(constant.getFConst())); in cast() 159 switch (constant.type) in cast() 162 setIConst(static_cast<int>(constant.getIConst())); in cast() 165 setIConst(static_cast<int>(constant.getUConst())); in cast() 168 setIConst(static_cast<int>(constant.getBConst())); in cast() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | constDeclarations-access2.errors.txt | 1 …ler/constDeclarations-access2.ts(4,1): error TS2588: Cannot assign to 'x' because it is a constant. 2 …ler/constDeclarations-access2.ts(5,1): error TS2588: Cannot assign to 'x' because it is a constant. 3 …ler/constDeclarations-access2.ts(6,1): error TS2588: Cannot assign to 'x' because it is a constant. 4 …ler/constDeclarations-access2.ts(7,1): error TS2588: Cannot assign to 'x' because it is a constant. 5 …ler/constDeclarations-access2.ts(8,1): error TS2588: Cannot assign to 'x' because it is a constant. 6 …ler/constDeclarations-access2.ts(9,1): error TS2588: Cannot assign to 'x' because it is a constant. 7 …er/constDeclarations-access2.ts(10,1): error TS2588: Cannot assign to 'x' because it is a constant. 8 …er/constDeclarations-access2.ts(11,1): error TS2588: Cannot assign to 'x' because it is a constant. 9 …er/constDeclarations-access2.ts(12,1): error TS2588: Cannot assign to 'x' because it is a constant. 10 …er/constDeclarations-access2.ts(13,1): error TS2588: Cannot assign to 'x' because it is a constant. [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_code.c | 59 unsigned rc_constants_add(struct rc_constant_list * c, struct rc_constant * constant) in rc_constants_add() argument 77 c->Constants[index] = *constant; in rc_constants_add() 90 struct rc_constant constant; in rc_constants_add_state() local 100 memset(&constant, 0, sizeof(constant)); in rc_constants_add_state() 101 constant.Type = RC_CONSTANT_STATE; in rc_constants_add_state() 102 constant.Size = 4; in rc_constants_add_state() 103 constant.u.State[0] = state0; in rc_constants_add_state() 104 constant.u.State[1] = state1; in rc_constants_add_state() 106 return rc_constants_add(c, &constant); in rc_constants_add_state() 117 struct rc_constant constant; in rc_constants_add_immediate_vec4() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
D | gen_indices.metal | 12 constant bool kSourceBufferAligned[[function_constant(100)]]; 13 constant bool kSourceIndexIsU8[[function_constant(200)]]; 14 constant bool kSourceIndexIsU16[[function_constant(300)]]; 15 constant bool kSourceIndexIsU32[[function_constant(400)]]; 16 constant bool kSourceBufferUnaligned = !kSourceBufferAligned; 17 constant bool kUseSourceBufferU8 = kSourceIndexIsU8 || kSourceBufferUnaligned; 18 constant bool kUseSourceBufferU16 = kSourceIndexIsU16 && kSourceBufferAligned; 19 constant bool kUseSourceBufferU32 = kSourceIndexIsU32 && kSourceBufferAligned; 30 inline ushort getIndexAligned(constant ushort *inputAligned, uint offset, uint idx) 34 inline uint getIndexAligned(constant uint *inputAligned, uint offset, uint idx) [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/ |
D | media.gyp.fontified | 1107 …constant-face) 918 919 (face font-lock-string-face) 919 936 nil 936 937 (face font-lock-string-fac…
|
/third_party/node/tools/gyp/tools/emacs/testdata/ |
D | media.gyp.fontified | 1107 …constant-face) 918 919 (face font-lock-string-face) 919 936 nil 936 937 (face font-lock-string-fac…
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/ |
D | array-length.msl2.argument.discrete.comp | 30 constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u); 35 constant uint* spvBufferSizeConstants [[id(1)]]; 41 constant uint* spvBufferSizeConstants [[id(2)]]; 45 …constant uint& v_16BufferSize, device SSBO1* constant (&ssbos)[2], constant uint* ssbosBufferSize,… 54 …ain0(constant spvDescriptorSetBuffer0& spvDescriptorSet0 [[buffer(0)]], constant spvDescriptorSetB… 62 constant uint& spvDescriptorSet0_v_16BufferSize = spvDescriptorSet0.spvBufferSizeConstants[0]; 63 constant uint* spvDescriptorSet1_ssbosBufferSize = &spvDescriptorSet1.spvBufferSizeConstants[0]; 64 constant uint& v_38BufferSize = spvBufferSizeConstants[2]; 65 constant uint* ssbos2BufferSize = &spvBufferSizeConstants[3];
|
D | spec-constant-work-group-size.comp | 32 constexpr const constant T& operator [] (size_t pos) const constant 50 constant int b = SPIRV_CROSS_CONSTANT_ID_1; 51 constant int a_tmp [[function_constant(0)]]; 52 constant int a = is_function_constant_defined(a_tmp) ? a_tmp : 1; 59 constant uint _21 = (uint(a) + 0u); 60 constant uint _22_tmp [[function_constant(10)]]; 61 constant uint _22 = is_function_constant_defined(_22_tmp) ? _22_tmp : 1u; 62 constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(_22, 20u, 1u); 63 constant uint _27 = gl_WorkGroupSize.x; 64 constant uint _28 = (_21 + _27); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/ |
D | spec-constant-work-group-size.comp | 32 constexpr const constant T& operator [] (size_t pos) const constant 50 constant int b = SPIRV_CROSS_CONSTANT_ID_1; 51 constant int a_tmp [[function_constant(0)]]; 52 constant int a = is_function_constant_defined(a_tmp) ? a_tmp : 1; 59 constant uint _21 = (uint(a) + 0u); 60 constant uint _22_tmp [[function_constant(10)]]; 61 constant uint _22 = is_function_constant_defined(_22_tmp) ? _22_tmp : 1u; 62 constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(_22, 20u, 1u); 63 constant uint _27 = gl_WorkGroupSize.x; 64 constant uint _28 = (_21 + _27); [all …]
|
D | array-length.msl2.argument.discrete.comp | 28 constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u); 33 constant uint* spvBufferSizeConstants [[id(1)]]; 39 constant uint* spvBufferSizeConstants [[id(2)]]; 42 …ain0(constant spvDescriptorSetBuffer0& spvDescriptorSet0 [[buffer(0)]], constant spvDescriptorSetB… 50 constant uint& spvDescriptorSet0_m_16BufferSize = spvDescriptorSet0.spvBufferSizeConstants[0]; 51 constant uint* spvDescriptorSet1_ssbosBufferSize = &spvDescriptorSet1.spvBufferSizeConstants[0]; 52 constant uint& _38BufferSize = spvBufferSizeConstants[2]; 53 constant uint* ssbos2BufferSize = &spvBufferSizeConstants[3];
|
/third_party/skia/third_party/externals/tint/test/types/ |
D | module_scope_let.wgsl.expected.msl | 11 constant bool bool_let = bool(); 12 constant int i32_let = int(); 13 constant uint u32_let = uint(); 14 constant float f32_let = float(); 15 constant int2 v2i32_let = int2(); 16 constant uint3 v3u32_let = uint3(); 17 constant float4 v4f32_let = float4(); 18 constant float3x4 m3x4_let = float3x4(); 19 constant tint_array_wrapper arr_let = {.arr={}}; 20 constant S struct_let = {};
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/vert/ |
D | spec-constant-op-composite.asm.vert | 6 constant int _7_tmp [[function_constant(201)]]; 7 constant int _7 = is_function_constant_defined(_7_tmp) ? _7_tmp : -10; 8 constant int _20 = (_7 + 2); 9 constant uint _8_tmp [[function_constant(202)]]; 10 constant uint _8 = is_function_constant_defined(_8_tmp) ? _8_tmp : 100u; 11 constant uint _25 = (_8 % 5u); 12 constant int4 _30 = int4(20, 30, _20, _20); 13 constant int2 _32 = int2(_30.y, _30.x); 14 constant int _33 = _30.y; 15 constant float _9_tmp [[function_constant(200)]]; [all …]
|