/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderConstExprTests.cpp | 331 DE_STATIC_ASSERT(glu::TYPE_INT + 1 == glu::TYPE_INT_VEC2); in init() 332 DE_STATIC_ASSERT(glu::TYPE_INT + 2 == glu::TYPE_INT_VEC3); in init() 333 DE_STATIC_ASSERT(glu::TYPE_INT + 3 == glu::TYPE_INT_VEC4); in init() 358 { "abs", "abs(${T} (-42))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, { 42 } }, in init() 383 …{ "radians", "radians(${T} (60.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatRadian… in init() 384 …{ "degrees", "degrees(${T} (0.11))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatDegree… in init() 385 …{ "sin", "${T} (1.0) + sin(${T} (0.7))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { 1.0f + deF… in init() 386 …{ "cos", "${T} (1.0) + cos(${T} (0.7))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { 1.0f + deF… in init() 387 …{ "asin", "asin(${T} (0.9))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatAsin(0.9f) … in init() 388 …{ "acos", "acos(${T} (-0.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatAcos(-0.5f)… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderConstExprTests.cpp | 114 {"abs", "abs(${T} (-42))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, 42.0f }, in init() 116 {"sign", "sign(${T} (-18))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, -1.0f }, in init() 126 …{"min", "min(${T} (13), ${MT} (-14))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, -14.0f … in init() 129 …{"max", "max(${T} (13), ${MT} (-14))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, 13.0f }, in init() 132 …{"clamp", "clamp(${T} (42), ${MT} (-10), ${MT} (15))", glu::TYPE_INT, 1, 4, glu::TYPE_INT, 1… in init() 255 …{"lessThan", "lessThan(${T} (-1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f … in init() 258 …{"lessThanEqual", "lessThanEqual(${T} (-1), ${T} (-1))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL… in init() 261 …{"greaterThan", "greaterThan(${T} (-1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, … in init() 264 …{"greaterThanEqual","greaterThanEqual(${T} (-1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_B… in init() 267 …{"equal", "equal(${T} (1), ${T} (-2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0.0f … in init() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeShaderFunctionTests.cpp | 109 glu::TYPE_INT, 211 case glu::TYPE_INT: variable << "(1);\n"; break; in declareAndInitializeShaderVariable() 377 …tfieldExtract(ctx, s_shaders[shaderNdx], s_floatTypes[dataTypeNdx], glu::TYPE_INT, glu::TYPE_INT)); in bitfield_extract_invalid_value_type() 401 …tx, s_shaders[shaderNdx], s_intTypes[dataTypeNdx], s_nonScalarIntTypes[nonIntNdx], glu::TYPE_INT)); in bitfield_extract_invalid_offset_type() 405 …x, s_shaders[shaderNdx], s_uintTypes[dataTypeNdx], s_nonScalarIntTypes[nonIntNdx], glu::TYPE_INT)); in bitfield_extract_invalid_offset_type() 431 …itfieldExtract(ctx, s_shaders[shaderNdx], s_intTypes[dataTypeNdx], glu::TYPE_INT, s_nonScalarIntTy… in bitfield_extract_invalid_bits_type() 435 …tfieldExtract(ctx, s_shaders[shaderNdx], s_uintTypes[dataTypeNdx], glu::TYPE_INT, s_nonScalarIntTy… in bitfield_extract_invalid_bits_type() 477 …ers[shaderNdx], s_floatTypes[dataTypeNdx], s_intTypes[dataTypeNdx], glu::TYPE_INT, glu::TYPE_INT)); in bitfield_insert_invalid_base_type() 481 …rs[shaderNdx], s_floatTypes[dataTypeNdx], s_uintTypes[dataTypeNdx], glu::TYPE_INT, glu::TYPE_INT)); in bitfield_insert_invalid_base_type() 505 …ers[shaderNdx], s_intTypes[dataTypeNdx], s_floatTypes[dataTypeNdx], glu::TYPE_INT, glu::TYPE_INT)); in bitfield_insert_invalid_insert_type() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 705 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 706 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 779 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 780 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 901 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() 961 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() 1021 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindMSBCase() 1081 glu::TYPE_INT, in addFunctionCases() 1089 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases()
|
/third_party/mesa3d/src/mesa/main/ |
D | get.c | 138 TYPE_INT, enumerator 259 #define BUFFER_INT(field) BUFFER_FIELD(field, TYPE_INT) 264 #define CONTEXT_INT(field) CONTEXT_FIELD(field, TYPE_INT) 289 #define ARRAY_INT(field) ARRAY_FIELD(field, TYPE_INT) 1680 case TYPE_INT: in get_value_size() 1805 case TYPE_INT: in _mesa_GetBooleanv() 1919 case TYPE_INT: in _mesa_GetFloatv() 2054 case TYPE_INT: in _mesa_GetIntegerv() 2189 case TYPE_INT: in _mesa_GetInteger64v() 2307 case TYPE_INT: in _mesa_GetDoublev() [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgVariableType.cpp | 87 case TYPE_INT: in getScalarSize() 144 case TYPE_INT: in getScalarType() 148 VariableType(TYPE_INT, 1) in getScalarType() 186 case TYPE_INT: in getElementType() 231 case TYPE_INT: in tokenizeShortType()
|
D | rsgUtils.cpp | 82 case VariableType::TYPE_INT: in computeRandomValue() 130 case VariableType::TYPE_INT: in isUndefinedValueRange() 160 VariableType::TYPE_INT, in computeRandomType() 171 case VariableType::TYPE_INT: in computeRandomType() 202 case VariableType::TYPE_INT: in computeRandomValueRange() 262 case VariableType::TYPE_INT: in getTypeConstructorDepth() 278 case VariableType::TYPE_INT: in getTypeConstructorDepth() 319 case VariableType::TYPE_INT: in computeRangeLengthSum()
|
D | rsgBinaryOps.cpp | 375 if (Int) baseTypes.push_back(VariableType::TYPE_INT); in BinaryVecOp() 403 …if ((baseType == VariableType::TYPE_FLOAT || baseType == VariableType::TYPE_INT) && isUndefinedVal… in BinaryVecOp() 416 else if (baseType == VariableType::TYPE_INT) in BinaryVecOp() 450 case VariableType::TYPE_INT: in evaluate() 663 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in RelationalOp() 681 else if (inBaseType == VariableType::TYPE_INT) in RelationalOp() 704 case VariableType::TYPE_INT: in evaluate() 958 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in EqualityComparisonOp() 980 else if (inBaseType == VariableType::TYPE_INT) in EqualityComparisonOp() 1056 case VariableType::TYPE_INT: in evaluate()
|
D | rsgVariableType.hpp | 43 TYPE_INT, enumerator 161 bool isIntOrVec (void) const { return m_baseType == TYPE_INT; } in isIntOrVec()
|
D | rsgExpression.cpp | 175 case VariableType::TYPE_INT: in computeRandomValueRangeForInfElements() 237 case VariableType::TYPE_INT: in setInfiniteRange() 430 : m_value(VariableType::getScalarType(VariableType::TYPE_INT)) in IntLiteral() 435 if (valueRange.getType() == VariableType(VariableType::TYPE_INT, 1)) in IntLiteral() 448 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)); in IntLiteral() 458 if (type == VariableType(VariableType::TYPE_INT, 1)) in getWeight() 480 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)).asInt(0)); in tokenize() 653 case VariableType::TYPE_INT: return 1; in getBaseTypeConvNdx() 733 …if (isConversionOk(VariableType::TYPE_INT, baseType, comp)) inTypes[numInTypes++] = VariableType:… in ConstructorOp() 1060 case VariableType::TYPE_INT: in computeEntryReadWeight()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderConstExprTests.cpp | 184 …{"lessThan", "lessThan(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f … in init() 186 …{"lessThanEqual", "lessThanEqual(${T} (1), ${T} (1))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, … in init() 188 …{"greaterThan", "greaterThan(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0… in init() 190 …{"greaterThanEqual","greaterThanEqual(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_B… in init() 192 …{"equal", "equal(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init() 195 …{"notEqual", "notEqual(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f … in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmTrinaryMinMaxTests.cpp | 69 TYPE_INT = 0, enumerator 275 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MIN }, { genInt8, minInt8 } }, 276 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MAX }, { genInt8, maxInt8 } }, 277 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MID }, { genInt8, midInt8 } }, 278 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MIN }, { genInt16, minInt16 } }, 279 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MAX }, { genInt16, maxInt16 } }, 280 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MID }, { genInt16, midInt16 } }, 281 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MIN }, { genInt32, minInt32 } }, 282 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MAX }, { genInt32, maxInt32 } }, 283 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MID }, { genInt32, midInt32 } }, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmTrinaryMinMaxTests.cpp | 69 TYPE_INT = 0, enumerator 275 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MIN }, { genInt8, minInt8 } }, 276 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MAX }, { genInt8, maxInt8 } }, 277 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MID }, { genInt8, midInt8 } }, 278 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MIN }, { genInt16, minInt16 } }, 279 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MAX }, { genInt16, maxInt16 } }, 280 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MID }, { genInt16, midInt16 } }, 281 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MIN }, { genInt32, minInt32 } }, 282 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MAX }, { genInt32, maxInt32 } }, 283 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MID }, { genInt32, midInt32 } }, [all …]
|
/third_party/node/deps/v8/src/flags/ |
D | flags.cc | 57 TYPE_INT, enumerator 109 DCHECK(type_ == TYPE_INT); in int_variable() 114 DCHECK(type_ == TYPE_INT); in set_int_variable() 194 DCHECK(type_ == TYPE_INT); in int_default() 324 case TYPE_INT: in IsDefault() 355 case TYPE_INT: in Reset() 417 case Flag::TYPE_INT: in Type2String() 463 case Flag::TYPE_INT: in operator <<() 643 case Flag::TYPE_INT: in SetFlagsFromCommandLine()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderUtil.hpp | 142 TYPE_INT, enumerator 286 inline bool isDataTypeIntOrIVec (DataType dataType) { return (dataType >= TYPE_INT) && … in isDataTypeIntOrIVec() 296 || (dataType == TYPE_INT) in isDataTypeScalar() 322 || deInRange32(dataType, TYPE_INT, TYPE_INT_VEC4) in isDataTypeScalarOrVector() 364 template <> struct DataTypeTraits<int> { enum { DATATYPE = TYPE_INT }; }; 398 DE_STATIC_ASSERT(TYPE_INT_VEC4 == TYPE_INT + 3);
|
D | gluShaderUtil.cpp | 497 TYPE_INT, // int in getDataTypeScalarType() 498 TYPE_INT, // ivec2 in getDataTypeScalarType() 499 TYPE_INT, // ivec3 in getDataTypeScalarType() 500 TYPE_INT, // ivec4 in getDataTypeScalarType() 1009 case TYPE_INT: in getDataTypeVector() 1030 return getDataTypeVector(TYPE_INT, vecSize); in getDataTypeIntVec() 1220 case GL_INT: return TYPE_INT; in getDataTypeFromGLType()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 53 case glu::TYPE_INT: in addOutputVar() 92 DE_STATIC_ASSERT(glu::TYPE_INT+1 == glu::TYPE_INT_VEC2); in createTests() 93 DE_STATIC_ASSERT(glu::TYPE_INT+2 == glu::TYPE_INT_VEC3); in createTests() 94 DE_STATIC_ASSERT(glu::TYPE_INT+3 == glu::TYPE_INT_VEC4); in createTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/ |
D | vktTypeComparisonUtil.cpp | 64 case glu::TYPE_INT: in getCompareFuncForType() 197 return glu::TYPE_INT; in getPromoteType() 213 return glu::TYPE_INT; in getPromoteType()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktTypeComparisonUtil.cpp | 64 case glu::TYPE_INT: in getCompareFuncForType() 197 return glu::TYPE_INT; in getPromoteType() 213 return glu::TYPE_INT; in getPromoteType()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
D | vktProtectedMemBufferValidator.cpp | 50 case TYPE_INT: return "ivec4"; in generateShaderVarString() 66 case TYPE_INT: return "uniform isamplerBuffer"; in generateShaderBufferString()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemBufferValidator.cpp | 50 case TYPE_INT: return "ivec4"; in generateShaderVarString() 66 case TYPE_INT: return "uniform isamplerBuffer"; in generateShaderBufferString()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 228 glu::TYPE_INT, in addFunctionCases() 236 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases() 894 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 895 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 976 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 977 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 1099 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() 1163 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() 1227 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in findMSBCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 228 glu::TYPE_INT, in addFunctionCases() 236 if ((!intTypes && scalarType == glu::TYPE_INT) || (!uintTypes && scalarType == glu::TYPE_UINT)) in addFunctionCases() 894 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 895 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase() 976 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 977 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase() 1099 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() 1163 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() 1227 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in findMSBCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutTests.cpp | 237 blockB.addInterfaceMember(InterfaceBlockMember("d", VarType(glu::TYPE_INT, 0))); in BlockMultiBasicTypesCase() 281 blockB.addInterfaceMember(InterfaceBlockMember("c", VarType(glu::TYPE_INT, 0))); in BlockMultiNestedStructCase() 318 blockA.addInterfaceMember(InterfaceBlockMember("a", VarType(glu::TYPE_INT, PRECISION_HIGH))); in BlockVariousBuffersCase() 329 blockB.addInterfaceMember(InterfaceBlockMember("d", VarType(glu::TYPE_INT, 0))); in BlockVariousBuffersCase() 366 block.addInterfaceMember(InterfaceBlockMember("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in Block2LevelStructArrayCase() 422 glu::TYPE_INT, in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutTests.cpp | 237 blockB.addInterfaceMember(InterfaceBlockMember("d", VarType(glu::TYPE_INT, 0))); in BlockMultiBasicTypesCase() 281 blockB.addInterfaceMember(InterfaceBlockMember("c", VarType(glu::TYPE_INT, 0))); in BlockMultiNestedStructCase() 318 blockA.addInterfaceMember(InterfaceBlockMember("a", VarType(glu::TYPE_INT, PRECISION_HIGH))); in BlockVariousBuffersCase() 329 blockB.addInterfaceMember(InterfaceBlockMember("d", VarType(glu::TYPE_INT, 0))); in BlockVariousBuffersCase() 366 block.addInterfaceMember(InterfaceBlockMember("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in Block2LevelStructArrayCase() 422 glu::TYPE_INT, in init()
|