Home
last modified time | relevance | path

Searched refs:intType (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.hpp507 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
508 GLM_FUNC_DECL vecType<intType, P> packSnorm(vecType<floatType, P> const & v);
514 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
515 GLM_FUNC_DECL vecType<floatType, P> unpackSnorm(vecType<intType, P> const & v);
Dpacking.inl672 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
673 GLM_FUNC_QUALIFIER vecType<intType, P> packSnorm(vecType<floatType, P> const & v)
675 GLM_STATIC_ASSERT(std::numeric_limits<intType>::is_integer, "uintType must be an integer type");
678 … vecType<intType, P>(round(clamp(v , static_cast<floatType>(-1), static_cast<floatType>(1)) * stat…
681 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
682 GLM_FUNC_QUALIFIER vecType<floatType, P> unpackSnorm(vecType<intType, P> const & v) argument
684 GLM_STATIC_ASSERT(std::numeric_limits<intType>::is_integer, "uintType must be an integer type");
687 … (static_cast<floatType>(1) / static_cast<floatType>(std::numeric_limits<intType>::max())), static…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelMessagePassing.cpp352 const bool intType = (m_data.dataType == DATA_TYPE_UINT || m_data.dataType == DATA_TYPE_UINT64); in initPrograms() local
411 if (!intType) in initPrograms()
470 if (intType) in initPrograms()
487 if (intType) in initPrograms()
643 if (intType) in initPrograms()
797 if (intType) { in initPrograms()
844 const bool intType = (m_data.dataType == DATA_TYPE_UINT || m_data.dataType == DATA_TYPE_UINT64); in initProgramsTransitive() local
872 if (!intType) in initProgramsTransitive()
916 if (intType) in initProgramsTransitive()
930 if (intType) in initProgramsTransitive()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/
DvktMemoryModelMessagePassing.cpp352 const bool intType = (m_data.dataType == DATA_TYPE_UINT || m_data.dataType == DATA_TYPE_UINT64); in initPrograms() local
411 if (!intType) in initPrograms()
470 if (intType) in initPrograms()
487 if (intType) in initPrograms()
643 if (intType) in initPrograms()
797 if (intType) { in initPrograms()
844 const bool intType = (m_data.dataType == DATA_TYPE_UINT || m_data.dataType == DATA_TYPE_UINT64); in initProgramsTransitive() local
872 if (!intType) in initProgramsTransitive()
916 if (intType) in initProgramsTransitive()
930 if (intType) in initProgramsTransitive()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLContext.h412 static std::unique_ptr<Type> fp_type(const Type* intType, const Type* boolType) { in fp_type() argument
417 Type::Field(mods, "numTextureSamplers", intType), in fp_type()
418 Type::Field(mods, "numCoordTransforms", intType), in fp_type()
419 Type::Field(mods, "numChildProcessors", intType), in fp_type()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderExecUtil.cpp121 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateVertexShader() local
123 src << "flat " << out << " " << glu::declare(intType, outputPrefix + output->name) << ";\n"; in generateVertexShader()
200 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateGeometryShader() local
202 src << "flat out " << glu::declare(intType, outputPrefix + output->name) << ";\n"; in generateGeometryShader()
324 const glu::VarType intType (intBasicType, glu::PRECISION_HIGHP); in generateFragShaderOutputDecl() local
326 decl.varType = intType; in generateFragShaderOutputDecl()
436 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generatePassthroughFragmentShader() local
438 src << "flat in " << glu::declare(intType, inputPrefix + output->name) << ";\n"; in generatePassthroughFragmentShader()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp901 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() local
904 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_LOWP))); in BitCountCase()
961 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() local
964 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1021 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindMSBCase() local
1024 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindMSBCase()
Des31fShaderCommonFunctionTests.cpp996 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase() local
1000 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1704 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in FrexpCase() local
1708 m_spec.outputs.push_back(Symbol("out1", glu::VarType(intType, glu::PRECISION_HIGHP))); in FrexpCase()
1795 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in LdexpCase() local
1798 m_spec.inputs.push_back(Symbol("in1", glu::VarType(intType, glu::PRECISION_HIGHP))); in LdexpCase()
2170 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in init() local
2177 intGroup->addChild(new BitsToFloatCase(m_context, intType, glu::ShaderType(shaderType))); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp1099 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() local
1102 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_MEDIUMP))); in BitCountCase()
1163 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() local
1166 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1227 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in findMSBCase() local
1230 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in findMSBCase()
DvktShaderCommonFunctionTests.cpp913 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase() local
917 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1044 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in init() local
1047 intGroup->addChild(new BitsToFloatCase(getTestContext(), intType)); in init()
DvktShaderExecutor.cpp230 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateVertexShader() local
232 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(intType, outputPref… in generateVertexShader()
338 const glu::VarType intType (intBasicType, glu::PRECISION_HIGHP); in generateFragShaderOutputDecl() local
340 decl.varType = intType; in generateFragShaderOutputDecl()
412 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generatePassthroughFragmentShader() local
414 …src << "layout(location = " << locationNumber << ") flat in " << glu::declare(intType, inputPrefix… in generatePassthroughFragmentShader()
461 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateGeometryShader() local
463 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(intType, outputPref… in generateGeometryShader()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp1099 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase() local
1102 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_MEDIUMP))); in BitCountCase()
1163 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase() local
1166 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1227 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in findMSBCase() local
1230 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in findMSBCase()
DvktShaderCommonFunctionTests.cpp913 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase() local
917 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1044 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in init() local
1047 intGroup->addChild(new BitsToFloatCase(getTestContext(), intType)); in init()
DvktShaderExecutor.cpp230 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateVertexShader() local
232 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(intType, outputPref… in generateVertexShader()
338 const glu::VarType intType (intBasicType, glu::PRECISION_HIGHP); in generateFragShaderOutputDecl() local
340 decl.varType = intType; in generateFragShaderOutputDecl()
412 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generatePassthroughFragmentShader() local
414 …src << "layout(location = " << locationNumber << ") flat in " << glu::declare(intType, inputPrefix… in generatePassthroughFragmentShader()
461 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); in generateGeometryShader() local
463 …src << "layout(location = " << locationNumber << ") flat out " << glu::declare(intType, outputPref… in generateGeometryShader()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp916 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase() local
920 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1662 const glu::DataType intType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in init() local
1667 intGroup->addChild(new BitsToFloatCase(m_context, intType, glu::ShaderType(shaderType))); in init()
/third_party/glslang/SPIRV/
DSpvBuilder.cpp2357 spv::Id intType = makeUintType(32); in createArrayLength() local
2358 Instruction* length = new Instruction(getUniqueId(), intType, OpArrayLength); in createArrayLength()
2368 spv::Id intType = makeUintType(32); in createCooperativeMatrixLength() local
2373 …return createSpecConstantOp(OpCooperativeMatrixLengthNV, intType, std::vector<Id>(1, type), std::v… in createCooperativeMatrixLength()
2376 Instruction* length = new Instruction(getUniqueId(), intType, OpCooperativeMatrixLengthNV); in createCooperativeMatrixLength()
2987 Id intType = isUnsignedResult ? makeUintType(32) : makeIntType(32); in createTextureQueryCall() local
2989 resultType = intType; in createTextureQueryCall()
2991 resultType = makeVectorType(intType, numComponents); in createTextureQueryCall()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp742 static GLenum intType[] = { GL_INT, GL_INT_VEC2, GL_INT_VEC3, GL_INT_VEC4 }; in setUniformiv() local
763 if(targetUniform->type == intType[index]) in setUniformiv()