/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 …]
|
D | VaryingPacking.h | 40 VaryingInShaderRef(ShaderType stageIn, const sh::ShaderVariable *varyingIn); 48 ShaderType stage; 104 std::string fullName(ShaderType stage) const in fullName() 127 return frontVarying.stage == ShaderType::Vertex && backVarying.varying == nullptr; in vertexOnly() 217 ShaderType frontShaderStage, 218 ShaderType backShaderStage, 306 const VaryingPacking &getInputPacking(ShaderType backShaderStage) const; 307 const VaryingPacking &getOutputPacking(ShaderType frontShaderStage) const; 322 ShaderMap<ShaderType> mBackToFrontStageMap;
|
D | ProgramExecutable.h | 129 void setLinkedShaderStages(ShaderType shaderType) in setLinkedShaderStages() 134 bool hasLinkedShaderStage(ShaderType shaderType) const in hasLinkedShaderStage() 136 ASSERT(shaderType != ShaderType::InvalidEnum); in hasLinkedShaderStage() 142 return mLinkedShaderStages[ShaderType::TessEvaluation]; in hasLinkedTessellationShader() 145 ShaderType getLinkedTransformFeedbackStage() const; 273 const std::vector<sh::ShaderVariable> &getLinkedOutputVaryings(ShaderType shaderType) const in getLinkedOutputVaryings() 277 const std::vector<sh::ShaderVariable> &getLinkedInputVaryings(ShaderType shaderType) const in getLinkedInputVaryings() 282 const std::vector<sh::ShaderVariable> &getLinkedUniforms(ShaderType shaderType) const in getLinkedUniforms() 287 const std::vector<sh::InterfaceBlock> &getLinkedUniformBlocks(ShaderType shaderType) const in getLinkedUniformBlocks() 292 int getLinkedShaderVersion(ShaderType shaderType) const in getLinkedShaderVersion() [all …]
|
D | Shader.cpp | 79 const char *GetShaderTypeString(ShaderType type) in GetShaderTypeString() 83 case ShaderType::Vertex: in GetShaderTypeString() 86 case ShaderType::Fragment: in GetShaderTypeString() 89 case ShaderType::Compute: in GetShaderTypeString() 92 case ShaderType::Geometry: in GetShaderTypeString() 95 case ShaderType::TessControl: in GetShaderTypeString() 98 case ShaderType::TessEvaluation: in GetShaderTypeString() 123 ShaderState::ShaderState(ShaderType shaderType) in ShaderState() 139 ShaderType type, in Shader() 481 case ShaderType::Compute: in resolveCompile() [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/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/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/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/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/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;
|
D | es31fShaderUniformIntegerFunctionTests.cpp | 45 …xt, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType); 60 glu::ShaderType m_shaderType; 66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType); 68 …ext, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in UniformIntegerFunctionCase() 146 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName() 153 …FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindMSBEdgeCase() 170 …FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindLSBEdgeCase() 195 if (executorSupported(glu::ShaderType(shaderTypeNdx))) in addFunctionCases() 197 …(new TestClass(parent->getContext(), input, glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); in addFunctionCases()
|
/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()
|
D | ProgramExecutableVk.h | 70 const gl::ShaderType shaderType, 78 ANGLE_INLINE bool valid(const gl::ShaderType shaderType) const 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, 261 const gl::ShaderType shaderType, [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 …]
|
/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 …]
|
D | ProgramCache.cpp | 24 case ShaderCombo::ShaderType::kLinearGradient: in getMSL() 49 case ShaderCombo::ShaderType::kRadialGradient: in getMSL() 50 case ShaderCombo::ShaderType::kSweepGradient: in getMSL() 51 case ShaderCombo::ShaderType::kConicalGradient: in getMSL() 52 case ShaderCombo::ShaderType::kNone: in getMSL()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessBufferAccessTests.cpp | 48 enum ShaderType enum 80 ShaderType shaderType, 88 static void genBufferShaderAccess (ShaderType shaderType, 102 ShaderType shaderType, 107 const ShaderType m_shaderType; 118 ShaderType shaderType, 142 ShaderType shaderType, 162 ShaderType shaderType, 184 const ShaderType m_shaderType; 228 ShaderType shaderType, [all …]
|