Home
last modified time | relevance | path

Searched refs:uniformType (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h61 explicit UniformQuantizedValueConverter(UniformQuantizedType uniformType) in UniformQuantizedValueConverter() argument
63 uniformType.getScale(), in UniformQuantizedValueConverter()
64 static_cast<double>(uniformType.getZeroPoint()), in UniformQuantizedValueConverter()
65 static_cast<double>(uniformType.getStorageTypeMin()), in UniformQuantizedValueConverter()
66 static_cast<double>(uniformType.getStorageTypeMax()), in UniformQuantizedValueConverter()
67 uniformType.getStorageTypeIntegralWidth(), uniformType.isSigned()) { in UniformQuantizedValueConverter()
68 assert(uniformType.getExpressedType().isa<FloatType>()); in UniformQuantizedValueConverter()
69 assert(uniformType.getStorageType().isSignlessInteger()); in UniformQuantizedValueConverter()
176 UniformQuantizedPerAxisType uniformType) in UniformQuantizedPerAxisValueConverter() argument
177 : scales(uniformType.getScales()), in UniformQuantizedPerAxisValueConverter()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferActiveUniformValidation.cpp89 void TextureBufferActiveUniformValidation::addTextureParam(glw::GLenum uniformType, glw::GLenum for… in addTextureParam() argument
93 TextureParameters texParam(size, format, uniformType, name); in addTextureParam()
150 const char* TextureBufferActiveUniformValidation::getUniformTypeName(glw::GLenum uniformType) in getUniformTypeName() argument
160 if (uniformType == m_glExtTokens.SAMPLER_BUFFER) in getUniformTypeName()
164 else if (uniformType == m_glExtTokens.INT_SAMPLER_BUFFER) in getUniformTypeName()
168 else if (uniformType == m_glExtTokens.UNSIGNED_INT_SAMPLER_BUFFER) in getUniformTypeName()
172 else if (uniformType == m_glExtTokens.IMAGE_BUFFER) in getUniformTypeName()
176 else if (uniformType == m_glExtTokens.INT_IMAGE_BUFFER) in getUniformTypeName()
180 else if (uniformType == m_glExtTokens.UNSIGNED_INT_IMAGE_BUFFER) in getUniformTypeName()
196 …reParameters* TextureBufferActiveUniformValidation::getParamsForType(glw::GLenum uniformType) const in getParamsForType()
[all …]
DesextcTextureBufferActiveUniformValidation.hpp174 …void addTextureParam(glw::GLenum uniformType, glw::GLenum format, glw::GLuint size, const char* na…
189 const char* getUniformTypeName(glw::GLenum uniformType);
190 const TextureParameters* getParamsForType(glw::GLenum uniformType) const;
/external/angle/src/compiler/translator/tree_ops/vulkan/
DSeparateStructFromUniformDeclarations.cpp87 TType *uniformType = new TType(structure, false); in doReplacement() local
88 uniformType->setQualifier(EvqUniform); in doReplacement()
89 uniformType->makeArrays(oldType.getArraySizes()); in doReplacement()
91 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp89 TType *uniformType = new TType(structure, false); in doReplacement() local
90 uniformType->setQualifier(EvqUniform); in doReplacement()
92 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
/external/angle/src/common/
Duniform_type_info_autogen.cpp207 size_t GetTypeInfoIndex(GLenum uniformType) in GetTypeInfoIndex() argument
209 switch (uniformType) in GetTypeInfoIndex()
372 const UniformTypeInfo &GetUniformTypeInfo(GLenum uniformType) in GetUniformTypeInfo() argument
374 ASSERT(kInfoTable[GetTypeInfoIndex(uniformType)].type == uniformType); in GetUniformTypeInfo()
375 return kInfoTable[GetTypeInfoIndex(uniformType)]; in GetUniformTypeInfo()
Dutilities.h207 const UniformTypeInfo &GetUniformTypeInfo(GLenum uniformType);
/external/angle/src/libANGLE/
DvalidationES.h270 GLenum uniformType,
274 ANGLE_INLINE bool ValidateUniformValue(const Context *context, GLenum valueType, GLenum uniformType) in ValidateUniformValue() argument
278 if (valueType != uniformType && VariableBoolVectorType(valueType) != uniformType) in ValidateUniformValue()
286 bool ValidateUniformMatrixValue(const Context *context, GLenum valueType, GLenum uniformType);
288 GLenum uniformType,
DProgramLinkedResources.cpp155 const char *GetUniformResourceNameString(UniformType uniformType) in GetUniformResourceNameString() argument
157 switch (uniformType) in GetUniformResourceNameString()
173 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() argument
176 if (shaderType == ShaderType::Fragment && uniformType == UniformType::Sampler) in GetUniformResourceLimitName()
184 switch (uniformType) in GetUniformResourceLimitName()
225 UniformType uniformType, in LogUniformsExceedLimit() argument
230 << GetUniformResourceNameString(uniformType) << "s count exceeds " in LogUniformsExceedLimit()
231 << GetUniformResourceLimitName(shaderType, uniformType) << "(" << limit << ")"; in LogUniformsExceedLimit()
DvalidationES.cpp2556 GLenum uniformType, in ValidateUniform1ivValue() argument
2563 if (GL_INT == uniformType || GL_BOOL == uniformType) in ValidateUniform1ivValue()
2568 if (IsSamplerType(uniformType)) in ValidateUniform1ivValue()
2587 bool ValidateUniformMatrixValue(const Context *context, GLenum valueType, GLenum uniformType) in ValidateUniformMatrixValue() argument
2590 if (valueType == uniformType) in ValidateUniformMatrixValue()
DvalidationES3.cpp87 GLenum uniformType, in ValidateUniformES3() argument
97 return ValidateUniform(context, uniformType, location, count); in ValidateUniformES3()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderReturnTests.cpp124 ReturnTestUniformSetup (const BaseUniformType uniformType) in ReturnTestUniformSetup() argument
125 : m_uniformType(uniformType) in ReturnTestUniformSetup()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp427 else if (auto uniformType = type.dyn_cast<UniformQuantizedType>()) in printType() local
428 printUniformQuantizedType(uniformType, os); in printType()
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp162 const rsg::VariableType& uniformType = uniformVar->getType(); in refreshUniforms() local
165 …m_execCtx.getValue(uniformVar) = rsg::ConstValueAccess(uniformType, (const rsg::Scalar*)&uniformSl… in refreshUniforms()
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp92 GrSLType uniformType(const SkSL::Type& type) { in uniformType() function in GrGLSLSkSLFP
125 this->uniformType(v->fType), in emitCode()
/external/angle/src/libANGLE/renderer/d3d/
DProgramD3D.h489 GLenum uniformType);
492 void setUniformInternal(GLint location, GLsizei count, const T *v, GLenum uniformType);
DProgramD3D.cpp2670 GLenum uniformType) in setUniformImpl() argument
2676 if (targetUniform->typeInfo.type == uniformType) in setUniformImpl()
2697 ASSERT(targetUniform->typeInfo.type == gl::VariableBoolVectorType(uniformType)); in setUniformImpl()
2714 void ProgramD3D::setUniformInternal(GLint location, GLsizei count, const T *v, GLenum uniformType) in setUniformInternal() argument
2721 ASSERT(uniformType == GL_INT); in setUniformInternal()
2737 setUniformImpl(targetUniform, locationInfo, count, v, targetState, uniformType); in setUniformInternal()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp1378 std::string uniformType; in genMultilineDescription() local
1388 uniformType = std::string(" ") + glu::getStorageName(storageDef->m_storage); in genMultilineDescription()
1405 …buf << "Querying properties of " << glu::getDataTypeName(varDef->m_dataType) << uniformType << " v… in genMultilineDescription()