Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSeparateStructFromUniformDeclarations.cpp86 TType *uniformType = new TType(structure, false); in doReplacement() local
87 uniformType->setQualifier(EvqUniform); in doReplacement()
88 uniformType->makeArrays(oldType.getArraySizes()); in doReplacement()
90 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DNameEmbeddedUniformStructs.cpp79 TType *uniformType = new TType(structure, false); in doReplacement() local
80 uniformType->setQualifier(EvqUniform); in doReplacement()
82 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Duniform_type_info_autogen.cpp177 size_t GetTypeInfoIndex(GLenum uniformType) in GetTypeInfoIndex() argument
179 switch (uniformType) in GetTypeInfoIndex()
312 const UniformTypeInfo &GetUniformTypeInfo(GLenum uniformType) in GetUniformTypeInfo() argument
314 ASSERT(kInfoTable[GetTypeInfoIndex(uniformType)].type == uniformType); in GetUniformTypeInfo()
315 return kInfoTable[GetTypeInfoIndex(uniformType)]; in GetUniformTypeInfo()
Dutilities.h201 const UniformTypeInfo &GetUniformTypeInfo(GLenum uniformType);
/third_party/skia/third_party/externals/angle2/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);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp151 const char *GetUniformResourceNameString(UniformType uniformType) in GetUniformResourceNameString() argument
153 switch (uniformType) in GetUniformResourceNameString()
169 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() argument
172 if (shaderType == ShaderType::Fragment && uniformType == UniformType::Sampler) in GetUniformResourceLimitName()
180 switch (uniformType) in GetUniformResourceLimitName()
221 UniformType uniformType, in LogUniformsExceedLimit() argument
226 << GetUniformResourceNameString(uniformType) << "s count exceeds " in LogUniformsExceedLimit()
227 << GetUniformResourceLimitName(shaderType, uniformType) << "(" << limit << ")"; in LogUniformsExceedLimit()
DvalidationES.h227 GLenum uniformType,
231 ANGLE_INLINE bool ValidateUniformValue(Context *context, GLenum valueType, GLenum uniformType) in ValidateUniformValue() argument
235 if (valueType != uniformType && VariableBoolVectorType(valueType) != uniformType) in ValidateUniformValue()
243 bool ValidateUniformMatrixValue(Context *context, GLenum valueType, GLenum uniformType);
244 bool ValidateUniform(Context *context, GLenum uniformType, GLint location, GLsizei count);
DvalidationES.cpp2146 GLenum uniformType, in ValidateUniform1ivValue() argument
2153 if (GL_INT == uniformType || GL_BOOL == uniformType) in ValidateUniform1ivValue()
2158 if (IsSamplerType(uniformType)) in ValidateUniform1ivValue()
2177 bool ValidateUniformMatrixValue(Context *context, GLenum valueType, GLenum uniformType) in ValidateUniformMatrixValue() argument
2180 if (valueType == uniformType) in ValidateUniformMatrixValue()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp519 SLType uniformType = this->getUniformTypeForLayout(u.type()); in writeUniforms() local
524 uniformType, in writeUniforms()
528 uint32_t bytesWritten = write(uniformType, in writeUniforms()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
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.h319 GLenum uniformType,
326 GLenum uniformType) in ValidateUniformValue() argument
330 if (valueType != uniformType && VariableBoolVectorType(valueType) != uniformType) in ValidateUniformValue()
341 GLenum uniformType);
344 GLenum uniformType,
DvalidationES.cpp2691 GLenum uniformType, in ValidateUniform1ivValue() argument
2698 if (GL_INT == uniformType || GL_BOOL == uniformType) in ValidateUniform1ivValue()
2703 if (IsSamplerType(uniformType)) in ValidateUniform1ivValue()
2726 GLenum uniformType) in ValidateUniformMatrixValue() argument
2729 if (valueType == uniformType) in ValidateUniformMatrixValue()
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp35 GrSLType uniformType) const { in copyUniforms()
37 switch (uniformType) { in copyUniforms()
DGrUniformDataManager.h63 int copyUniforms(void* dest, const void* src, int numUniforms, GrSLType uniformType) const;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderReturnTests.cpp124 ReturnTestUniformSetup (const BaseUniformType uniformType) in ReturnTestUniformSetup() argument
125 : m_uniformType(uniformType) in ReturnTestUniformSetup()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.h469 GLenum uniformType);
472 void setUniformInternal(GLint location, GLsizei count, const T *v, GLenum uniformType);
DProgramD3D.cpp2536 GLenum uniformType) in setUniformImpl() argument
2542 if (targetUniform->typeInfo.type == uniformType) in setUniformImpl()
2554 ASSERT(targetUniform->typeInfo.type == gl::VariableBoolVectorType(uniformType)); in setUniformImpl()
2571 void ProgramD3D::setUniformInternal(GLint location, GLsizei count, const T *v, GLenum uniformType) in setUniformInternal() argument
2578 ASSERT(uniformType == GL_INT); in setUniformInternal()
2594 uniformType); in setUniformInternal()
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp125 GrSLType uniformType(const SkSL::Type& type) { in uniformType() function in GrGLSLSkSLFP
157 this->uniformType(v->fType), in emitCode()

12