/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ProgramPipelineVk.cpp | 42 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in fillProgramStateMap() 44 (*programStatesOut)[shaderType] = nullptr; in fillProgramStateMap() 46 ProgramVk *programVk = getShaderProgram(shaderType); in fillProgramStateMap() 49 (*programStatesOut)[shaderType] = &programVk->getState(); in fillProgramStateMap() 76 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in link() 78 const gl::Program *glProgram = mState.getShaderProgram(shaderType); in link() 79 if (glProgram && gl::ShaderTypeSupportsTransformFeedback(shaderType)) in link() 82 shaderType == linkedTransformFeedbackStage && in link() 86 shaderType, glProgram->getState(), isTransformFeedbackStage, in link() 94 for (const gl::ShaderType shaderType in link() [all...] |
H A D | ProgramVk.cpp | 178 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in load() 185 mDefaultUniformBlocks[shaderType].uniformLayout.push_back(blockInfo); in load() 190 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in load() 192 requiredBufferSize[shaderType] = stream->readInt<size_t>(); in load() 212 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in save() 214 const size_t uniformCount = mDefaultUniformBlocks[shaderType].uniformLayout.size(); in save() 219 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; in save() 225 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in save() 227 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); in save() 245 for (gl::ShaderType shaderType in fillProgramStateMap() 493 const gl::ShaderType shaderType = linkedUniform.getFirstShaderTypeWhereActive(); getUniformImpl() local [all...] |
H A D | ProgramExecutableVk.cpp | 69 for (gl::ShaderType shaderType : linkedShaderStages) in ValidateTransformedSpirV() 72 options.shaderType = shaderType; in ValidateTransformedSpirV() 77 options.isTransformFeedbackStage = shaderType == lastPreFragmentStage; in ValidateTransformedSpirV() 80 if (GlslangWrapperVk::TransformSpirV(options, variableInfoMap, spirvBlobs[shaderType], in ValidateTransformedSpirV() 137 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) in initShaders() 139 if (spirvBlobs[shaderType] != nullptr) in initShaders() 141 mSpirvBlobs[shaderType] = *spirvBlobs[shaderType]; in initShaders() 164 for (const gl::ShaderType shaderType in load() 194 initProgram(ContextVk *contextVk, const gl::ShaderType shaderType, bool isLastPreFragmentStage, bool isTransformFeedbackProgram, const ShaderInfo &shaderInfo, ProgramTransformOptions optionBits, const ShaderInterfaceVariableInfoMap &variableInfoMap) initProgram() argument 527 addInterfaceBlockDescriptorSetDesc( const std::vector<gl::InterfaceBlock> &blocks, const gl::ShaderType shaderType, VkDescriptorType descType, vk::DescriptorSetLayoutDesc *descOut) addInterfaceBlockDescriptorSetDesc() argument 558 addAtomicCounterBufferDescriptorSetDesc( const std::vector<gl::AtomicCounterBuffer> &atomicCounterBuffers, const gl::ShaderType shaderType, vk::DescriptorSetLayoutDesc *descOut) addAtomicCounterBufferDescriptorSetDesc() argument 637 addInputAttachmentDescriptorSetDesc( const gl::ProgramExecutable &executable, const gl::ShaderType shaderType, vk::DescriptorSetLayoutDesc *descOut) addInputAttachmentDescriptorSetDesc() argument 1174 updateDefaultUniformsDescriptorSet( const gl::ShaderType shaderType, const DefaultUniformBlock &defaultUniformBlock, vk::BufferHelper *defaultUniformBuffer, ContextVk *contextVk) updateDefaultUniformsDescriptorSet() argument 1236 updateBuffersDescriptorSet( ContextVk *contextVk, const gl::ShaderType shaderType, const vk::ShaderBuffersDescriptorDesc &shaderBuffersDesc, const std::vector<gl::InterfaceBlock> &blocks, VkDescriptorType descriptorType, bool cacheHit) updateBuffersDescriptorSet() argument 1326 updateAtomicCounterBuffersDescriptorSet( ContextVk *contextVk, const gl::ProgramState &programState, const gl::ShaderType shaderType, const vk::ShaderBuffersDescriptorDesc &shaderBuffersDesc, bool cacheHit) updateAtomicCounterBuffersDescriptorSet() argument 1411 updateImagesDescriptorSet( ContextVk *contextVk, const gl::ProgramExecutable &executable, const gl::ShaderType shaderType) updateImagesDescriptorSet() argument 1594 updateInputAttachmentDescriptorSet( const gl::ProgramExecutable &executable, const gl::ShaderType shaderType, ContextVk *contextVk, FramebufferVk *framebufferVk) updateInputAttachmentDescriptorSet() argument [all...] |
H A D | ProgramVk.h | 110 bool isShaderUniformDirty(gl::ShaderType shaderType) const in isShaderUniformDirty() 112 return mDefaultUniformBlocksDirty[shaderType]; in isShaderUniformDirty() 114 void setShaderUniformDirtyBit(gl::ShaderType shaderType) in setShaderUniformDirtyBit() argument 116 if (!mDefaultUniformBlocks[shaderType].uniformData.empty()) in setShaderUniformDirtyBit() 118 mDefaultUniformBlocksDirty.set(shaderType); in setShaderUniformDirtyBit() 121 void clearShaderUniformDirtyBit(gl::ShaderType shaderType) in clearShaderUniformDirtyBit() argument 123 mDefaultUniformBlocksDirty.reset(shaderType); in clearShaderUniformDirtyBit() 131 size_t getDefaultUniformAlignedSize(ContextVk *contextVk, const gl::ShaderType shaderType) const in getDefaultUniformAlignedSize() 136 return roundUp(mDefaultUniformBlocks[shaderType].uniformData.size(), alignment); in getDefaultUniformAlignedSize() 145 const gl::ShaderType shaderType, in initGraphicsShaderProgram() 143 initGraphicsShaderProgram( ContextVk *contextVk, const gl::ShaderType shaderType, bool isLastPreFragmentStage, ProgramTransformOptions optionBits, ProgramInfo *programInfo, const ShaderInterfaceVariableInfoMap &variableInfoMap) initGraphicsShaderProgram() argument 192 initProgram(ContextVk *contextVk, const gl::ShaderType shaderType, bool isLastPreFragmentStage, ProgramTransformOptions optionBits, ProgramInfo *programInfo, const ShaderInterfaceVariableInfoMap &variableInfoMap) initProgram() argument [all...] |
H A D | ProgramExecutableVk.h | 70 const gl::ShaderType shaderType, 78 ANGLE_INLINE bool valid(const gl::ShaderType shaderType) const in valid() 80 return mProgramHelper.valid(shaderType); in valid() 128 ProgramVk *getShaderProgram(const gl::State &glState, gl::ShaderType shaderType) const; 173 const gl::ShaderType shaderType, 223 const gl::ShaderType shaderType, 228 const gl::ShaderType shaderType, 233 const gl::ShaderType shaderType, 241 void updateDefaultUniformsDescriptorSet(const gl::ShaderType shaderType, 253 const gl::ShaderType shaderType, [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) in Shader() argument 44 m_info.type = shaderType; in Shader() 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) in Shader() argument 54 m_info.type = shaderType; in Shader() 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 398 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) in init() 400 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType] in init() 468 ShaderType shaderType = shaderBinary.shaderTypes[shaderTypeNdx]; init() local 537 getGLShaderType(ShaderType shaderType) getGLShaderType() argument 561 getGLShaderTypeBit(ShaderType shaderType) getGLShaderTypeBit() argument 585 getLogShaderType(ShaderType shaderType) getLogShaderType() argument [all...] |
H A D | gluShaderProgram.hpp | 87 Shader (const glw::Functions& gl, ShaderType shaderType); 88 Shader (const RenderContext& renderCtx, ShaderType shaderType); 201 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } in hasShader() 202 Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNdx]; } in getShader() argument 203 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); } in getNumShaders() 204 const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNd in getNumShaders() argument 273 ShaderType shaderType; global() member [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | ProgramPipeline.cpp | 36 for (const ShaderType shaderType : gl::AllShaderTypes()) in ProgramPipelineState() 38 mPrograms[shaderType] = nullptr; in ProgramPipelineState() 58 const ShaderType shaderType, in useProgramStage() 62 Program *oldProgram = mPrograms[shaderType]; in useProgramStage() 72 shaderProgram->getExecutable().hasLinkedShaderStage(shaderType)) in useProgramStage() 74 mPrograms[shaderType] = shaderProgram; in useProgramStage() 82 mPrograms[shaderType] = nullptr; in useProgramStage() 85 Program *program = mPrograms[shaderType]; in useProgramStage() 98 ShaderType shaderType = GetShaderTypeFromBitfield(angle::Bit<size_t>(singleShaderBit)); in useProgramStages() local 99 if (shaderType in useProgramStages() 57 useProgramStage(const Context *context, const ShaderType shaderType, Program *shaderProgram, angle::ObserverBinding *programObserverBindings) useProgramStage() argument [all...] |
H A D | ProgramLinkedResources.cpp | 36 void SetActive(std::vector<VarT> *list, const std::string &name, ShaderType shaderType, bool active) in SetActive() argument 42 variable.setActive(shaderType, active); in SetActive() 123 GLuint GetMaximumShaderUniformVectors(ShaderType shaderType, const Caps &caps) in GetMaximumShaderUniformVectors() argument 125 switch (shaderType) in GetMaximumShaderUniformVectors() 136 return static_cast<GLuint>(caps.maxShaderUniformComponents[shaderType]) / 4; in GetMaximumShaderUniformVectors() 173 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() argument 176 if (shaderType == ShaderType::Fragment && uniformType == UniformType::Sampler) in GetUniformResourceLimitName() 182 ostream << "MAX_" << GetShaderTypeString(shaderType) << "_"; in GetUniformResourceLimitName() 189 if (shaderType == ShaderType::Vertex || shaderType in GetUniformResourceLimitName() 224 LogUniformsExceedLimit(ShaderType shaderType, UniformType uniformType, GLuint limit, InfoLog &infoLog) LogUniformsExceedLimit() argument 239 UniformBlockEncodingVisitor(const GetBlockMemberInfoFunc &getMemberInfo, const std::string &namePrefix, const std::string &mappedNamePrefix, std::vector<LinkedUniform> *uniformsOut, ShaderType shaderType, int blockIndex) UniformBlockEncodingVisitor() argument 300 ShaderStorageBlockVisitor(const GetBlockMemberInfoFunc &getMemberInfo, const std::string &namePrefix, const std::string &mappedNamePrefix, std::vector<BufferVariable> *bufferVariablesOut, ShaderType shaderType, int blockIndex) ShaderStorageBlockVisitor() argument 385 FlattenUniformVisitor(ShaderType shaderType, const sh::ShaderVariable &uniform, std::vector<LinkedUniform> *uniforms, std::vector<LinkedUniform> *samplerUniforms, std::vector<LinkedUniform> *imageUniforms, std::vector<LinkedUniform> *atomicCounterUniforms, std::vector<LinkedUniform> *inputAttachmentUniforms, std::vector<UnusedUniform> *unusedUniforms) FlattenUniformVisitor() argument 1204 addShaderBlocks(ShaderType shaderType, const std::vector<sh::InterfaceBlock> *blocks) addShaderBlocks() argument 1344 getVisitor( const GetBlockMemberInfoFunc &getMemberInfo, const std::string &namePrefix, const std::string &mappedNamePrefix, ShaderType shaderType, int blockIndex) const getVisitor() argument 1373 getVisitor( const GetBlockMemberInfoFunc &getMemberInfo, const std::string &namePrefix, const std::string &mappedNamePrefix, ShaderType shaderType, int blockIndex) const getVisitor() argument [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() argument 77 switch (shaderType) in getSimpleShaderSource() 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 188 std::string next (const glu::ShaderType shaderType); 194 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() argument 196 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType in next() 224 get(const glu::ShaderType shaderType) get() argument 245 hasShader(const glu::ShaderType shaderType) hasShader() argument 253 createShader(const glu::ShaderType shaderType) createShader() argument 265 deleteShader(const glu::ShaderType shaderType) deleteShader() argument 273 setSource(const glu::ShaderType shaderType) setSource() argument 300 const glu::ShaderType shaderType = (glu::ShaderType)shaderTypeInt; logProgram() local 328 CreateShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) CreateShaderCase() argument 352 CompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) CompileShaderCase() argument 530 ShaderSourceReplaceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ShaderSourceReplaceCase() argument 630 ShaderSourceSplitCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 flags = 0) ShaderSourceSplitCase() argument 775 ProgramStateCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateCase() argument 863 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; addProgramStateCase() local 880 ProgramStateDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateDetachShaderCase() argument 902 ProgramStateReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReattachShaderCase() argument 925 ProgramStateDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateDeleteShaderCase() argument 948 ProgramStateReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReplaceShaderCase() argument 972 ProgramStateRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateRecompileShaderCase() argument 995 ProgramStateReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReplaceSourceCase() argument 1058 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; init() local 1071 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; init() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() argument 94 switch (shaderType) in getSimpleShaderSource() 221 virtual std::string next (const glu::ShaderType shaderType) = 0; 222 virtual bool finished (const glu::ShaderType shaderType) const = 0; 231 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 233 std::string next (const glu::ShaderType shaderType); 239 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() argument 241 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType in next() 277 get(const glu::ShaderType shaderType) get() argument 298 hasShader(const glu::ShaderType shaderType) hasShader() argument 306 createShader(const glu::ShaderType shaderType) createShader() argument 318 deleteShader(const glu::ShaderType shaderType) deleteShader() argument 326 setSource(const glu::ShaderType shaderType) setSource() argument 354 const glu::ShaderType shaderType = (glu::ShaderType)shaderTypeInt; logProgram() local 382 CreateShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) CreateShaderCase() argument 406 CompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) CompileShaderCase() argument 584 ShaderSourceReplaceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ShaderSourceReplaceCase() argument 687 ShaderSourceSplitCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 flags = 0) ShaderSourceSplitCase() argument 835 ProgramStateCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateCase() argument 923 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; addProgramStateCase() local 940 ProgramStateDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateDetachShaderCase() argument 962 ProgramStateReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReattachShaderCase() argument 985 ProgramStateDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateDeleteShaderCase() argument 1008 ProgramStateReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReplaceShaderCase() argument 1032 ProgramStateRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateRecompileShaderCase() argument 1055 ProgramStateReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramStateReplaceSourceCase() argument 1409 ProgramBinaryPersistenceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceCase() argument 1488 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; addProgramBinaryPersistenceCase() local 1505 ProgramBinaryPersistenceDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceDetachShaderCase() argument 1527 ProgramBinaryPersistenceReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceReattachShaderCase() argument 1550 ProgramBinaryPersistenceDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceDeleteShaderCase() argument 1573 ProgramBinaryPersistenceReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceReplaceShaderCase() argument 1597 ProgramBinaryPersistenceRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceRecompileShaderCase() argument 1620 ProgramBinaryPersistenceReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) ProgramBinaryPersistenceReplaceSourceCase() argument 1683 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; init() local 1697 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; init() local [all...] |
H A D | es3fShaderCommonFunctionTests.cpp | 154 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 178 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() argument 180 , m_shaderType (shaderType) in CommonFunctionCase() 377 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument 379 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName() 385 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() argument 386 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) in AbsCase() 467 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in SignCase() argument 468 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType) in SignCase() 573 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundEvenCase() argument 684 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ModfCase() argument 750 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsnanCase() argument 831 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsinfCase() argument 912 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) FloatBitsToUintIntCase() argument 972 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToIntCase() argument 981 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToUintCase() argument 990 BitsToFloatCase(Context& context, glu::DataType baseType, glu::ShaderType shaderType) BitsToFloatCase() argument 1040 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloorCase() argument 1136 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) TruncCase() argument 1244 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundCase() argument 1372 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) CeilCase() argument 1477 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FractCase() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkShaderProgram.cpp | 33 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<() 45 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<() 61 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in logShader() 63 for (size_t shaderNdx = 0; shaderNdx < sources[shaderType].size(); shaderNdx++) in logShader() 65 log << tcu::TestLog::Shader(glu::getLogShaderType((glu::ShaderType)shaderType), in logShader() 66 sources[shaderType][shaderNdx], in logShader()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | ProgramD3D.cpp | 194 for (gl::ShaderType shaderType : gl::kAllGraphicsShaderTypes) in FindFlatInterpolationVarying() 196 gl::Shader *shader = shaders[shaderType]; in FindFlatInterpolationVarying() 215 UniformEncodingVisitorD3D(gl::ShaderType shaderType, in UniformEncodingVisitorD3D() argument 220 mShaderType(shaderType), in UniformEncodingVisitorD3D() 344 bool D3DUniform::isReferencedByShader(gl::ShaderType shaderType) const in isReferencedByShader() 346 return mShaderRegisterIndexes[shaderType] != GL_INVALID_INDEX; in isReferencedByShader() 356 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in firstNonNullData() 358 if (mShaderData[shaderType]) in firstNonNullData() 360 return mShaderData[shaderType]; in firstNonNullData() 806 for (gl::ShaderType shaderType [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | glslang_wrapper_utils.cpp | 93 gl::ShaderType shaderType, in AddResourceInfoToAllStages() 101 ShaderInterfaceVariableInfo &info = infoMap->add(shaderType, varName); in AddResourceInfoToAllStages() 110 gl::ShaderType shaderType, in AddResourceInfo() 115 ShaderInterfaceVariableInfo &info = infoMap->add(shaderType, varName); in AddResourceInfo() 124 gl::ShaderType shaderType, in AddLocationInfo() 133 ShaderInterfaceVariableInfo &info = infoMap->addOrGet(shaderType, varName); in AddLocationInfo() 142 info.activeStages.set(shaderType); in AddLocationInfo() 162 gl::ShaderType shaderType, in SetXfbInfo() 174 ShaderInterfaceVariableInfo &info = infoMap->get(shaderType, varName); in SetXfbInfo() 208 void AssignTransformFeedbackEmulationBindings(gl::ShaderType shaderType, in AssignTransformFeedbackEmulationBindings() argument 92 AddResourceInfoToAllStages(ShaderInterfaceVariableInfoMap *infoMap, gl::ShaderType shaderType, const std::string &varName, uint32_t descriptorSet, uint32_t binding) AddResourceInfoToAllStages() argument 108 AddResourceInfo(ShaderInterfaceVariableInfoMap *infoMap, gl::ShaderBitSet stages, gl::ShaderType shaderType, const std::string &varName, uint32_t descriptorSet, uint32_t binding) AddResourceInfo() argument 123 AddLocationInfo(ShaderInterfaceVariableInfoMap *infoMap, gl::ShaderType shaderType, const std::string &varName, uint32_t location, uint32_t component, uint8_t attributeComponentCount, uint8_t attributeLocationCount) AddLocationInfo() argument 161 SetXfbInfo(ShaderInterfaceVariableInfoMap *infoMap, gl::ShaderType shaderType, const std::string &varName, int fieldIndex, uint32_t xfbBuffer, uint32_t xfbOffset, uint32_t xfbStride, uint32_t arraySize, uint32_t columnCount, uint32_t rowCount, uint32_t arrayIndex, GLenum componentType) SetXfbInfo() argument 272 AssignAttributeLocations(const gl::ProgramExecutable &programExecutable, gl::ShaderType shaderType, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignAttributeLocations() argument 349 AssignOutputLocations(const gl::ProgramState &programState, const gl::ShaderType shaderType, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignOutputLocations() argument 398 AssignVaryingLocations(const GlslangSourceOptions &options, const gl::VaryingPacking &varyingPacking, const gl::ShaderType shaderType, const gl::ShaderType frontShaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignVaryingLocations() argument 511 AssignTransformFeedbackQualifiers(const gl::ProgramExecutable &programExecutable, const gl::VaryingPacking &varyingPacking, const gl::ShaderType shaderType, bool usesExtension, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignTransformFeedbackQualifiers() argument 666 AssignUniformBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignUniformBindings() argument 686 InsertIfAbsent(UniformBindingIndexMap *uniformBindingIndexMapOut, const std::string &name, const uint32_t bindingIndex, const gl::ShaderType shaderType) InsertIfAbsent() argument 700 AddAndUpdateResourceMaps(const gl::ShaderType shaderType, std::string name, uint32_t *binding, bool updateBinding, bool updateFrontShaderType, const uint32_t descriptorSetIndex, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AddAndUpdateResourceMaps() argument 735 AssignInputAttachmentBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const std::vector<gl::LinkedUniform> &uniforms, const gl::RangeUI &inputAttachmentUniformRange, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignInputAttachmentBindings() argument 777 AssignInterfaceBlockBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const std::vector<gl::InterfaceBlock> &blocks, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignInterfaceBlockBindings() argument 802 AssignAtomicCounterBufferBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const std::vector<gl::AtomicCounterBuffer> &buffers, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignAtomicCounterBufferBindings() argument 824 AssignImageBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const std::vector<gl::LinkedUniform> &uniforms, const gl::RangeUI &imageUniformRange, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignImageBindings() argument 859 AssignNonTextureBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignNonTextureBindings() argument 894 AssignTextureBindings(const GlslangSourceOptions &options, const gl::ProgramExecutable &programExecutable, const gl::ShaderType shaderType, GlslangProgramInterfaceInfo *programInterfaceInfo, UniformBindingIndexMap *uniformBindingIndexMapOut, ShaderInterfaceVariableInfoMap *variableInfoMapOut) AssignTextureBindings() argument [all...] |
H A D | glslang_wrapper_utils.h | 56 gl::ShaderType shaderType = gl::ShaderType::InvalidEnum; member 148 bool contains(gl::ShaderType shaderType, const std::string &variableName) const; 149 const ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, 151 ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, const std::string &variableName); 152 ShaderInterfaceVariableInfo &add(gl::ShaderType shaderType, const std::string &variableName); 153 void markAsDuplicate(gl::ShaderType shaderType, const std::string &variableName); 154 ShaderInterfaceVariableInfo &addOrGet(gl::ShaderType shaderType, 156 size_t variableCount(gl::ShaderType shaderType) const { return mData[shaderType].size(); } in variableCount() 175 Iterator getIterator(gl::ShaderType shaderType) cons [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ValidateVaryingLocations.cpp | 118 bool ShouldIgnoreVaryingArraySize(TQualifier qualifier, GLenum shaderType) in ShouldIgnoreVaryingArraySize() argument 122 switch (shaderType) in ShouldIgnoreVaryingArraySize() 179 GLenum shaderType) in ValidateShaderInterfaceAndAssignLocations() 195 ShouldIgnoreVaryingArraySize(varying->getQualifier(), shaderType); in ValidateShaderInterfaceAndAssignLocations() 279 ValidateVaryingLocationsTraverser(GLenum shaderType); 291 ValidateVaryingLocationsTraverser::ValidateVaryingLocationsTraverser(GLenum shaderType) in ValidateVaryingLocationsTraverser() argument 292 : TIntermTraverser(true, false, false), mShaderType(shaderType) in ValidateVaryingLocationsTraverser() 346 unsigned int CalculateVaryingLocationCount(const TType &varyingType, GLenum shaderType) in CalculateVaryingLocationCount() argument 349 const bool ignoreVaryingArraySize = ShouldIgnoreVaryingArraySize(qualifier, shaderType); in CalculateVaryingLocationCount() 359 bool ValidateVaryingLocations(TIntermBlock *root, TDiagnostics *diagnostics, GLenum shaderType) in ValidateVaryingLocations() argument 177 ValidateShaderInterfaceAndAssignLocations(TDiagnostics *diagnostics, const VaryingVector &varyingVector, GLenum shaderType) ValidateShaderInterfaceAndAssignLocations() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderUniformIntegerFunctionTests.cpp | 45 UniformIntegerFunctionCase (Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType); 66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType); 68 UniformIntegerFunctionCase::UniformIntegerFunctionCase(Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in UniformIntegerFunctionCase() argument 69 : TestCase(context, getCaseName(precision, shaderType).c_str(), description) in UniformIntegerFunctionCase() 70 , m_shaderType(shaderType) in UniformIntegerFunctionCase() 146 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName() argument 148 return string(getPrecisionName(precision)) + getShaderTypePostfix(shaderType); in getCaseName() 153 FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in FindMSBEdgeCase() argument 154 : UniformIntegerFunctionCase(context, "findMSB", inputValue, precision, shaderType) in FindMSBEdgeCase() 170 FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in FindLSBEdgeCase() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() argument 116 DE_UNREF(shaderType); in getShaderUintBitCount() 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) in generateRandomInputData() argument 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 196 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument 198 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName() 263 IntegerFunctionCase (tcu::TestContext& testCtx, const char* name, glu::ShaderType shaderType); 286 IntegerFunctionCase::IntegerFunctionCase (tcu::TestContext& testCtx, const char* name, glu::ShaderType shaderType) in IntegerFunctionCase() argument 288 , m_shaderType (shaderType) in IntegerFunctionCase() 307 IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, cons argument 405 UaddCarryCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UaddCarryCaseInstance() argument 496 UaddCarryCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UaddCarryCase() argument 515 UsubBorrowCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UsubBorrowCaseInstance() argument 604 UsubBorrowCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UsubBorrowCase() argument 623 UmulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UmulExtendedCaseInstance() argument 708 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UmulExtendedCase() argument 727 ImulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) ImulExtendedCaseInstance() argument 813 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ImulExtendedCase() argument 832 BitfieldExtractCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldExtractCaseInstance() argument 890 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldExtractCase() argument 909 BitfieldInsertCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldInsertCaseInstance() argument 971 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldInsertCase() argument 991 BitfieldReverseCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldReverseCaseInstance() argument 1034 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldReverseCase() argument 1051 BitCountCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitCountCaseInstance() argument 1095 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitCountCase() argument 1115 FindLSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) FindLSBCaseInstance() argument 1159 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindLSBCase() argument 1179 findMSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) findMSBCaseInstance() argument 1223 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) findMSBCase() argument [all...] |
H A D | vktShaderPackingFunctionTests.cpp | 75 ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, glu::ShaderType shaderType); 93 ShaderPackingFunctionCase::ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument 95 , m_shaderType (shaderType) in ShaderPackingFunctionCase() 113 ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) in ShaderPackingFunctionTestInstance() argument 116 , m_shaderType (shaderType) in ShaderPackingFunctionTestInstance() 136 PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) in PackSnorm2x16CaseInstance() argument 137 : ShaderPackingFunctionTestInstance (context, shaderType, spec, name) in PackSnorm2x16CaseInstance() 232 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() argument 233 : ShaderPackingFunctionCase (testCtx, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), shaderType) in PackSnorm2x16Case() 254 UnpackSnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackSnorm2x16CaseInstance() argument 337 UnpackSnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackSnorm2x16Case() argument 355 PackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackUnorm2x16CaseInstance() argument 451 PackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackUnorm2x16Case() argument 473 UnpackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackUnorm2x16CaseInstance() argument 557 UnpackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackUnorm2x16Case() argument 576 PackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) PackHalf2x16CaseInstance() argument 678 PackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) PackHalf2x16Case() argument 708 UnpackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackHalf2x16CaseInstance() argument 879 UnpackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackHalf2x16Case() argument 898 PackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackSnorm4x8CaseInstance() argument 1000 PackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackSnorm4x8Case() argument 1022 UnpackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackSnorm4x8CaseInstance() argument 1114 UnpackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackSnorm4x8Case() argument 1133 PackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackUnorm4x8CaseInstance() argument 1235 PackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackUnorm4x8Case() argument 1257 UnpackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackUnorm4x8CaseInstance() argument 1348 UnpackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackUnorm4x8Case() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() argument 116 DE_UNREF(shaderType); in getShaderUintBitCount() 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) in generateRandomInputData() argument 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 196 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument 198 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName() 263 IntegerFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 286 IntegerFunctionCase::IntegerFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase() argument 288 , m_shaderType (shaderType) in IntegerFunctionCase() 307 IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, cons argument 405 UaddCarryCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UaddCarryCaseInstance() argument 496 UaddCarryCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UaddCarryCase() argument 515 UsubBorrowCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UsubBorrowCaseInstance() argument 604 UsubBorrowCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UsubBorrowCase() argument 623 UmulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) UmulExtendedCaseInstance() argument 708 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UmulExtendedCase() argument 727 ImulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) ImulExtendedCaseInstance() argument 813 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ImulExtendedCase() argument 832 BitfieldExtractCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldExtractCaseInstance() argument 890 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldExtractCase() argument 909 BitfieldInsertCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldInsertCaseInstance() argument 971 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldInsertCase() argument 991 BitfieldReverseCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitfieldReverseCaseInstance() argument 1034 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldReverseCase() argument 1051 BitCountCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) BitCountCaseInstance() argument 1095 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitCountCase() argument 1115 FindLSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) FindLSBCaseInstance() argument 1159 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindLSBCase() argument 1179 findMSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) findMSBCaseInstance() argument 1223 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) findMSBCase() argument [all...] |
H A D | vktShaderPackingFunctionTests.cpp | 75 ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 93 ShaderPackingFunctionCase::ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument 95 , m_shaderType (shaderType) in ShaderPackingFunctionCase() 113 ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) in ShaderPackingFunctionTestInstance() argument 116 , m_shaderType (shaderType) in ShaderPackingFunctionTestInstance() 136 PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) in PackSnorm2x16CaseInstance() argument 137 : ShaderPackingFunctionTestInstance (context, shaderType, spec, name) in PackSnorm2x16CaseInstance() 232 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() argument 233 : ShaderPackingFunctionCase (testCtx, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) in PackSnorm2x16Case() 254 UnpackSnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackSnorm2x16CaseInstance() argument 337 UnpackSnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackSnorm2x16Case() argument 355 PackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackUnorm2x16CaseInstance() argument 451 PackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackUnorm2x16Case() argument 473 UnpackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackUnorm2x16CaseInstance() argument 557 UnpackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackUnorm2x16Case() argument 576 PackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) PackHalf2x16CaseInstance() argument 678 PackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) PackHalf2x16Case() argument 708 UnpackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackHalf2x16CaseInstance() argument 879 UnpackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackHalf2x16Case() argument 898 PackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackSnorm4x8CaseInstance() argument 1000 PackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackSnorm4x8Case() argument 1022 UnpackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackSnorm4x8CaseInstance() argument 1114 UnpackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackSnorm4x8Case() argument 1133 PackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) PackUnorm4x8CaseInstance() argument 1235 PackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) PackUnorm4x8Case() argument 1257 UnpackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) UnpackUnorm4x8CaseInstance() argument 1348 UnpackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) UnpackUnorm4x8Case() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | StateManager11.cpp | 290 StateManager11::SRVCache *StateManager11::getSRVCache(gl::ShaderType shaderType) 292 ASSERT(shaderType != gl::ShaderType::InvalidEnum); 293 return &mCurShaderSRVs[shaderType]; 306 for (gl::ShaderType shaderType : gl::AllShaderTypes()) 308 mShaderSamplerMetadata[shaderType].resize(caps.maxShaderTextureImageUnits[shaderType]); 309 mShaderReadonlyImageMetadata[shaderType].resize(caps.maxShaderImageUniforms[shaderType]); 310 mShaderImageMetadata[shaderType].resize(caps.maxShaderImageUniforms[shaderType]); [all...] |
H A D | StateManager11.h | 38 size_t getRequiredBufferSize(gl::ShaderType shaderType) const; 48 void onImageLayerChange(gl::ShaderType shaderType, unsigned int imageIndex, int layer); 49 void onSamplerChange(gl::ShaderType shaderType, 53 void onImageChange(gl::ShaderType shaderType, 60 gl::ShaderType shaderType, 161 static size_t GetShaderConstantsStructSize(gl::ShaderType shaderType); 264 void setShaderResourceShared(gl::ShaderType shaderType, 267 void setShaderResource(gl::ShaderType shaderType, 312 void setShaderResourceInternal(gl::ShaderType shaderType, 316 void setUnorderedAccessViewInternal(gl::ShaderType shaderType, [all...] |
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) in getConstShaderSource() argument 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in getConstShaderSource() 86 if (shaderType == glu::SHADERTYPE_VERTEX) in getConstShaderSource() 162 glu::ShaderType shaderType; 169 : shaderType (shaderTypeInit) 214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT); 222 return glu::ShaderSource(m_spec.shaderType, m_source); 233 if (m_spec.shaderType [all...] |