/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ProgramPipeline.cpp | 36 for (const ShaderType shaderType : gl::AllShaderTypes()) in ProgramPipelineState() 58 const ShaderType shaderType, in useProgramStage() 98 ShaderType shaderType = GetShaderTypeFromBitfield(angle::Bit<size_t>(singleShaderBit)); in useProgramStages() 99 if (shaderType == ShaderType::InvalidEnum) in useProgramStages() 123 for (const ShaderType shaderType : mExecutable->getLinkedShaderStages()) in updateExecutableTextures() 139 for (const ShaderType shaderType : mExecutable->getLinkedShaderStages()) in getSpecConstUsageBits() 155 for (const ShaderType shaderType : gl::AllShaderTypes()) in ProgramPipeline() 217 for (const ShaderType shaderType : gl::AllShaderTypes()) in updateLinkedShaderStages() 231 Program *vertexProgram = getShaderProgram(gl::ShaderType::Vertex); in updateExecutableAttributes() 248 ShaderType lastVertexProcessingStage = in updateTransformFeedbackMembers() [all …]
|
D | Compiler.cpp | 94 mResources.MaxVertexTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Vertex]; in Compiler() 96 mResources.MaxTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Fragment]; in Compiler() 188 mResources.MaxVertexImageUniforms = caps.maxShaderImageUniforms[ShaderType::Vertex]; in Compiler() 189 mResources.MaxFragmentImageUniforms = caps.maxShaderImageUniforms[ShaderType::Fragment]; in Compiler() 190 mResources.MaxComputeImageUniforms = caps.maxShaderImageUniforms[ShaderType::Compute]; in Compiler() 201 mResources.MaxComputeUniformComponents = caps.maxShaderUniformComponents[ShaderType::Compute]; in Compiler() 202 mResources.MaxComputeTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Compute]; in Compiler() 204 mResources.MaxComputeAtomicCounters = caps.maxShaderAtomicCounters[ShaderType::Compute]; in Compiler() 206 caps.maxShaderAtomicCounterBuffers[ShaderType::Compute]; in Compiler() 208 mResources.MaxVertexAtomicCounters = caps.maxShaderAtomicCounters[ShaderType::Vertex]; in Compiler() [all …]
|
D | VaryingPacking.cpp | 114 GLint GetMaxShaderInputVectors(const Caps &caps, ShaderType shaderStage) in GetMaxShaderInputVectors() 118 case ShaderType::TessControl: in GetMaxShaderInputVectors() 120 case ShaderType::TessEvaluation: in GetMaxShaderInputVectors() 122 case ShaderType::Geometry: in GetMaxShaderInputVectors() 124 case ShaderType::Fragment: in GetMaxShaderInputVectors() 131 GLint GetMaxShaderOutputVectors(const Caps &caps, ShaderType shaderStage) in GetMaxShaderOutputVectors() 135 case ShaderType::Vertex: in GetMaxShaderOutputVectors() 137 case ShaderType::TessControl: in GetMaxShaderOutputVectors() 139 case ShaderType::TessEvaluation: in GetMaxShaderOutputVectors() 141 case ShaderType::Geometry: in GetMaxShaderOutputVectors() [all …]
|
D | ProgramLinkedResources.cpp | 36 void SetActive(std::vector<VarT> *list, const std::string &name, ShaderType shaderType, bool active) in SetActive() 88 using ShaderUniform = std::pair<ShaderType, const sh::ShaderVariable *>; 123 GLuint GetMaximumShaderUniformVectors(ShaderType shaderType, const Caps &caps) in GetMaximumShaderUniformVectors() 127 case ShaderType::Vertex: in GetMaximumShaderUniformVectors() 129 case ShaderType::Fragment: in GetMaximumShaderUniformVectors() 132 case ShaderType::Compute: in GetMaximumShaderUniformVectors() 133 case ShaderType::Geometry: in GetMaximumShaderUniformVectors() 134 case ShaderType::TessControl: in GetMaximumShaderUniformVectors() 135 case ShaderType::TessEvaluation: in GetMaximumShaderUniformVectors() 173 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() [all …]
|
D | Caps.cpp | 992 caps.maxShaderTextureImageUnits[ShaderType::Fragment] = 8; in GenerateMinimumCaps() 1038 caps.maxShaderUniformComponents[ShaderType::Vertex] = 1024; in GenerateMinimumCaps() 1040 caps.maxShaderUniformBlocks[ShaderType::Vertex] = limits::kMinimumShaderUniformBlocks; in GenerateMinimumCaps() 1042 caps.maxShaderTextureImageUnits[ShaderType::Vertex] = 16; in GenerateMinimumCaps() 1045 caps.maxShaderUniformComponents[ShaderType::Fragment] = 896; in GenerateMinimumCaps() 1047 caps.maxShaderUniformBlocks[ShaderType::Fragment] = limits::kMinimumShaderUniformBlocks; in GenerateMinimumCaps() 1049 caps.maxShaderTextureImageUnits[ShaderType::Fragment] = 16; in GenerateMinimumCaps() 1085 caps.maxShaderAtomicCounterBuffers[ShaderType::Vertex] = 0; in GenerateMinimumCaps() 1086 caps.maxShaderAtomicCounters[ShaderType::Vertex] = 0; in GenerateMinimumCaps() 1087 caps.maxShaderImageUniforms[ShaderType::Vertex] = 0; in GenerateMinimumCaps() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | glslang_wrapper_utils.h | 21 {gl::ShaderType::Vertex, sh::vk::kDefaultUniformsNameVS}, 22 {gl::ShaderType::TessControl, sh::vk::kDefaultUniformsNameTCS}, 23 {gl::ShaderType::TessEvaluation, sh::vk::kDefaultUniformsNameTES}, 24 {gl::ShaderType::Geometry, sh::vk::kDefaultUniformsNameGS}, 25 {gl::ShaderType::Fragment, sh::vk::kDefaultUniformsNameFS}, 26 {gl::ShaderType::Compute, sh::vk::kDefaultUniformsNameCS}, 56 gl::ShaderType shaderType = gl::ShaderType::InvalidEnum; 71 gl::ShaderType frontShaderType); 74 gl::ShaderType frontShaderType = gl::ShaderType::InvalidEnum; 148 bool contains(gl::ShaderType shaderType, const std::string &variableName) const; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Compiler.cpp | 84 mResources.MaxVertexTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Vertex]; in Compiler() 86 mResources.MaxTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Fragment]; in Compiler() 128 mResources.MaxVertexImageUniforms = caps.maxShaderImageUniforms[ShaderType::Vertex]; in Compiler() 129 mResources.MaxFragmentImageUniforms = caps.maxShaderImageUniforms[ShaderType::Fragment]; in Compiler() 130 mResources.MaxComputeImageUniforms = caps.maxShaderImageUniforms[ShaderType::Compute]; in Compiler() 141 mResources.MaxComputeUniformComponents = caps.maxShaderUniformComponents[ShaderType::Compute]; in Compiler() 142 mResources.MaxComputeTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Compute]; in Compiler() 144 mResources.MaxComputeAtomicCounters = caps.maxShaderAtomicCounters[ShaderType::Compute]; in Compiler() 146 caps.maxShaderAtomicCounterBuffers[ShaderType::Compute]; in Compiler() 148 mResources.MaxVertexAtomicCounters = caps.maxShaderAtomicCounters[ShaderType::Vertex]; in Compiler() [all …]
|
D | ProgramLinkedResources.cpp | 36 void SetActive(std::vector<VarT> *list, const std::string &name, ShaderType shaderType, bool active) in SetActive() 86 using ShaderUniform = std::pair<ShaderType, const sh::Uniform *>; 121 GLuint GetMaximumShaderUniformVectors(ShaderType shaderType, const Caps &caps) in GetMaximumShaderUniformVectors() 125 case ShaderType::Vertex: in GetMaximumShaderUniformVectors() 127 case ShaderType::Fragment: in GetMaximumShaderUniformVectors() 130 case ShaderType::Compute: in GetMaximumShaderUniformVectors() 131 case ShaderType::Geometry: in GetMaximumShaderUniformVectors() 169 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() 172 if (shaderType == ShaderType::Fragment && uniformType == UniformType::Sampler) in GetUniformResourceLimitName() 185 if (shaderType == ShaderType::Vertex || shaderType == ShaderType::Fragment) in GetUniformResourceLimitName() [all …]
|
/third_party/skia/tests/graphite/ |
D | UniformTest.cpp | 26 case skgpu::ShaderCombo::ShaderType::kNone: in create_paint() 29 case skgpu::ShaderCombo::ShaderType::kLinearGradient: in create_paint() 33 case skgpu::ShaderCombo::ShaderType::kRadialGradient: in create_paint() 37 case skgpu::ShaderCombo::ShaderType::kSweepGradient: in create_paint() 42 case skgpu::ShaderCombo::ShaderType::kConicalGradient: in create_paint() 63 for (auto s : { ShaderCombo::ShaderType::kNone, in DEF_GRAPHITE_TEST() 64 ShaderCombo::ShaderType::kLinearGradient, in DEF_GRAPHITE_TEST() 65 ShaderCombo::ShaderType::kRadialGradient, in DEF_GRAPHITE_TEST() 66 ShaderCombo::ShaderType::kSweepGradient, in DEF_GRAPHITE_TEST() 67 ShaderCombo::ShaderType::kConicalGradient }) { in DEF_GRAPHITE_TEST() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 288 StateManager11::SRVCache *StateManager11::getSRVCache(gl::ShaderType shaderType) in getSRVCache() 290 ASSERT(shaderType != gl::ShaderType::InvalidEnum); in getSRVCache() 304 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in init() 312 size_t ShaderConstants11::GetShaderConstantsStructSize(gl::ShaderType shaderType) in GetShaderConstantsStructSize() 316 case gl::ShaderType::Vertex: in GetShaderConstantsStructSize() 318 case gl::ShaderType::Fragment: in GetShaderConstantsStructSize() 320 case gl::ShaderType::Compute: in GetShaderConstantsStructSize() 324 case gl::ShaderType::Geometry: in GetShaderConstantsStructSize() 333 size_t ShaderConstants11::getRequiredBufferSize(gl::ShaderType shaderType) const in getRequiredBufferSize() 335 ASSERT(shaderType != gl::ShaderType::InvalidEnum); in getRequiredBufferSize() [all …]
|
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, 59 gl::ShaderType shaderType, 145 static size_t GetShaderConstantsStructSize(gl::ShaderType shaderType); 244 void setShaderResourceShared(gl::ShaderType shaderType, 247 void setShaderResource(gl::ShaderType shaderType, 292 void setShaderResourceInternal(gl::ShaderType shaderType, 296 void setUnorderedAccessViewInternal(gl::ShaderType shaderType, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 290 StateManager11::SRVCache *StateManager11::getSRVCache(gl::ShaderType shaderType) in getSRVCache() 292 ASSERT(shaderType != gl::ShaderType::InvalidEnum); in getSRVCache() 306 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in init() 314 size_t ShaderConstants11::GetShaderConstantsStructSize(gl::ShaderType shaderType) in GetShaderConstantsStructSize() 318 case gl::ShaderType::Vertex: in GetShaderConstantsStructSize() 320 case gl::ShaderType::Fragment: in GetShaderConstantsStructSize() 322 case gl::ShaderType::Compute: in GetShaderConstantsStructSize() 326 case gl::ShaderType::Geometry: in GetShaderConstantsStructSize() 335 size_t ShaderConstants11::getRequiredBufferSize(gl::ShaderType shaderType) const in getRequiredBufferSize() 337 ASSERT(shaderType != gl::ShaderType::InvalidEnum); in getRequiredBufferSize() [all …]
|
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/flutter/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.h | 183 constexpr ShaderType kGLES2ShaderTypeMin = ShaderType::Vertex; 184 constexpr ShaderType kGLES2ShaderTypeMax = ShaderType::Fragment; 185 constexpr ShaderType kAfterGLES2ShaderTypeMax = 186 static_cast<ShaderType>(static_cast<uint8_t>(kGLES2ShaderTypeMax) + 1); 189 angle::EnumIterator<ShaderType> begin() const { return kGLES2ShaderTypeMin; } in begin() 190 angle::EnumIterator<ShaderType> end() const { return kAfterGLES2ShaderTypeMax; } in end() 193 constexpr ShaderType kShaderTypeMin = ShaderType::Vertex; 194 constexpr ShaderType kShaderTypeMax = ShaderType::Compute; 195 constexpr ShaderType kAfterShaderTypeMax = 196 static_cast<ShaderType>(static_cast<uint8_t>(kShaderTypeMax) + 1); [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.hpp | 66 glu::ShaderType getType (void) const { return m_shaderType; } in getType() 74 Shader (glu::ShaderType type, glu::GLSLVersion version); 80 const glu::ShaderType m_shaderType; 93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version); 99 glu::ShaderType getFirstStage (void) const; 100 glu::ShaderType getLastStage (void) const; 101 bool hasStage (glu::ShaderType stage) const;
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType 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() 217 bool hasShader (const glu::ShaderType shaderType); 219 void setSource (const glu::ShaderType shaderType); 221 glu::Shader& createShader (const glu::ShaderType shaderType); 222 void deleteShader (const glu::ShaderType shaderType); [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | utilities.cpp | 1075 PipelineType GetPipelineType(ShaderType type) in GetPipelineType() 1079 case ShaderType::Vertex: in GetPipelineType() 1080 case ShaderType::Fragment: in GetPipelineType() 1081 case ShaderType::Geometry: in GetPipelineType() 1083 case ShaderType::Compute: in GetPipelineType() 1152 ShaderType GetShaderTypeFromBitfield(size_t singleShaderType) in GetShaderTypeFromBitfield() 1157 return ShaderType::Vertex; in GetShaderTypeFromBitfield() 1159 return ShaderType::Fragment; in GetShaderTypeFromBitfield() 1161 return ShaderType::Compute; in GetShaderTypeFromBitfield() 1163 return ShaderType::Geometry; in GetShaderTypeFromBitfield() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DynamicHLSL.cpp | 364 programData.getAttachedShader(ShaderType::Compute)->getTranslatedSource()); in generateComputeShaderForImage2DBindSignature() 475 ASSERT((*shaderHLSL)[gl::ShaderType::Vertex].empty() && in generateShaderLinkHLSL() 476 (*shaderHLSL)[gl::ShaderType::Fragment].empty()); in generateShaderLinkHLSL() 478 gl::Shader *vertexShaderGL = programData.getAttachedShader(ShaderType::Vertex); in generateShaderLinkHLSL() 479 gl::Shader *fragmentShaderGL = programData.getAttachedShader(ShaderType::Fragment); in generateShaderLinkHLSL() 495 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateShaderLinkHLSL() 680 const auto &pixelBuiltins = builtinsD3D[gl::ShaderType::Fragment]; in generateShaderLinkHLSL() 867 (*shaderHLSL)[gl::ShaderType::Vertex] = vertexStream.str(); in generateShaderLinkHLSL() 868 (*shaderHLSL)[gl::ShaderType::Fragment] = pixelStream.str(); in generateShaderLinkHLSL() 880 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateGeometryShaderPreamble() [all …]
|
D | ProgramD3D.cpp | 172 case gl::ShaderType::Vertex: in FindFlatInterpolationVaryingPerShader() 174 case gl::ShaderType::Fragment: in FindFlatInterpolationVaryingPerShader() 176 case gl::ShaderType::Geometry: in FindFlatInterpolationVaryingPerShader() 187 for (gl::ShaderType shaderType : gl::kAllGraphicsShaderTypes) in FindFlatInterpolationVarying() 208 UniformEncodingVisitorD3D(gl::ShaderType shaderType, in UniformEncodingVisitorD3D() 254 ASSERT(mShaderType != gl::ShaderType::InvalidEnum); in encodeVariable() 259 gl::ShaderType mShaderType; 336 bool D3DUniform::isReferencedByShader(gl::ShaderType shaderType) const in isReferencedByShader() 348 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in firstNonNullData() 406 return (mAttachedShaders[gl::ShaderType::Fragment]->usesFragColor() && in usesBroadcast() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DynamicHLSL.cpp | 364 programData.getAttachedShader(ShaderType::Compute)->getTranslatedSource()); in generateComputeShaderForImage2DBindSignature() 478 ASSERT((*shaderHLSL)[gl::ShaderType::Vertex].empty() && in generateShaderLinkHLSL() 479 (*shaderHLSL)[gl::ShaderType::Fragment].empty()); in generateShaderLinkHLSL() 481 gl::Shader *vertexShaderGL = programData.getAttachedShader(ShaderType::Vertex); in generateShaderLinkHLSL() 482 gl::Shader *fragmentShaderGL = programData.getAttachedShader(ShaderType::Fragment); in generateShaderLinkHLSL() 503 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateShaderLinkHLSL() 705 const auto &pixelBuiltins = builtinsD3D[gl::ShaderType::Fragment]; in generateShaderLinkHLSL() 906 (*shaderHLSL)[gl::ShaderType::Vertex] = vertexStream.str(); in generateShaderLinkHLSL() 907 (*shaderHLSL)[gl::ShaderType::Fragment] = pixelStream.str(); in generateShaderLinkHLSL() 919 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateGeometryShaderPreamble() [all …]
|
D | ProgramD3D.cpp | 179 case gl::ShaderType::Vertex: in FindFlatInterpolationVaryingPerShader() 181 case gl::ShaderType::Fragment: in FindFlatInterpolationVaryingPerShader() 183 case gl::ShaderType::Geometry: in FindFlatInterpolationVaryingPerShader() 194 for (gl::ShaderType shaderType : gl::kAllGraphicsShaderTypes) in FindFlatInterpolationVarying() 215 UniformEncodingVisitorD3D(gl::ShaderType shaderType, in UniformEncodingVisitorD3D() 262 ASSERT(mShaderType != gl::ShaderType::InvalidEnum); in encodeVariable() 267 gl::ShaderType mShaderType; 344 bool D3DUniform::isReferencedByShader(gl::ShaderType shaderType) const in isReferencedByShader() 356 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in firstNonNullData() 423 const rx::ShaderD3D *shader = mAttachedShaders[gl::ShaderType::Fragment]; in usesBroadcast() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramPipelineVk.cpp | 42 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in fillProgramStateMap() 69 const gl::ShaderType linkedTransformFeedbackStage = in link() 76 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in link() 92 gl::ShaderType frontShaderType = gl::ShaderType::InvalidEnum; in link() 94 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in link() 124 for (const gl::ShaderType shaderType : mState.getExecutable().getLinkedShaderStages()) in calcUniformUpdateRequiredSpace() 167 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in updateUniforms() 220 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in updateUniforms() 237 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) in hasDirtyUniforms() 253 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in setAllDefaultUniformsDirty()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderProgram.hpp | 51 ShaderType type; //!< Shader type. 87 Shader (const glw::Functions& gl, ShaderType shaderType); 88 Shader (const RenderContext& renderCtx, ShaderType shaderType); 99 glu::ShaderType getType (void) const { return getInfo().type; } in getType() 201 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader() 202 …Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShader() 203 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders() 204 …const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return… in getShaderInfo() 220 deUint32 getGLShaderType (ShaderType shaderType); 221 deUint32 getGLShaderTypeBit (ShaderType shaderType); [all …]
|
/third_party/skia/experimental/graphite/src/ |
D | ContextUtils.cpp | 205 result.fShaderType = ShaderCombo::ShaderType::kLinearGradient; in ExtractCombo() 217 result.fShaderType = ShaderCombo::ShaderType::kRadialGradient; in ExtractCombo() 229 result.fShaderType = ShaderCombo::ShaderType::kSweepGradient; in ExtractCombo() 240 result.fShaderType = ShaderCombo::ShaderType::kConicalGradient; in ExtractCombo() 253 result.fShaderType = ShaderCombo::ShaderType::kNone; in ExtractCombo() 261 result.fShaderType = ShaderCombo::ShaderType::kNone; in ExtractCombo() 315 std::string GetMSLUniformStruct(ShaderCombo::ShaderType shaderType) { in GetMSLUniformStruct() 317 case ShaderCombo::ShaderType::kLinearGradient: in GetMSLUniformStruct() 318 case ShaderCombo::ShaderType::kRadialGradient: in GetMSLUniformStruct() 319 case ShaderCombo::ShaderType::kSweepGradient: in GetMSLUniformStruct() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType 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() 270 bool hasShader (const glu::ShaderType shaderType); 272 void setSource (const glu::ShaderType shaderType); 274 glu::Shader& createShader (const glu::ShaderType shaderType); 275 void deleteShader (const glu::ShaderType shaderType); [all …]
|