/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorGLSL.cpp | 30 InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); in initBuiltInFunctionEmulator() 44 InitBuiltInFunctionEmulatorForGLSLMissingFunctions(emu, getShaderType(), targetGLSLVersion); in initBuiltInFunctionEmulator() 69 !sh::RemoveInvariant(getShaderType(), getShaderVersion(), getOutputType(), compileOptions)) in translate() 73 switch (getShaderType()) in translate() 131 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 197 if (getShaderType() == GL_COMPUTE_SHADER) in translate() 202 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate() 211 &getSymbolTable(), getShaderType(), getShaderVersion(), getOutputType(), in translate() 232 TVersionGLSL versionGLSL(getShaderType(), getPragma(), getOutputType()); in writeVersion() 296 getShaderType() != GL_COMPUTE_SHADER) in writeExtensionBehavior()
|
D | TranslatorESSL.cpp | 67 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 87 if (getShaderType() == GL_COMPUTE_SHADER) in translate() 92 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate() 101 &getSymbolTable(), getShaderType(), shaderVer, precisionEmulation, in translate()
|
D | TranslatorHLSL.cpp | 87 if (getOutputType() == SH_HLSL_3_0_OUTPUT && getShaderType() == GL_VERTEX_SHADER) in translate() 127 getShaderType() == GL_VERTEX_SHADER) in translate() 140 sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), in translate()
|
D | TranslatorVulkan.cpp | 643 getNameMap(), &getSymbolTable(), getShaderType(), in translate() 695 root, &getSymbolTable(), getShaderType() == GL_FRAGMENT_SHADER, in translate() 711 if (getShaderType() == GL_COMPUTE_SHADER) in translate() 729 if (getShaderType() != GL_COMPUTE_SHADER) in translate() 736 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 813 else if (getShaderType() == GL_VERTEX_SHADER) in translate() 828 ASSERT(getShaderType() == GL_COMPUTE_SHADER); in translate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorGLSL.cpp | 30 InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); in initBuiltInFunctionEmulator() 44 InitBuiltInFunctionEmulatorForGLSLMissingFunctions(emu, getShaderType(), targetGLSLVersion); in initBuiltInFunctionEmulator() 69 !sh::RemoveInvariant(getShaderType(), getShaderVersion(), getOutputType(), compileOptions)) in translate() 73 switch (getShaderType()) in translate() 131 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 199 if (getShaderType() == GL_COMPUTE_SHADER) in translate() 204 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate() 234 TVersionGLSL versionGLSL(getShaderType(), getPragma(), getOutputType()); in writeVersion() 321 getShaderType() != GL_COMPUTE_SHADER) in writeExtensionBehavior()
|
D | TranslatorESSL.cpp | 58 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 75 if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 80 if (getShaderType() == GL_COMPUTE_SHADER) in translate() 85 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate()
|
D | TranslatorMetalDirect.cpp | 659 ProgramPreludeConfig ppc(metalShaderTypeFromGLSL(getShaderType())); in translateImpl() 747 getShaderType() == GL_FRAGMENT_SHADER)) in translateImpl() 753 if (getShaderType() == GL_COMPUTE_SHADER) in translateImpl() 781 if (getShaderType() != GL_COMPUTE_SHADER) in translateImpl() 825 if (getShaderType() == GL_FRAGMENT_SHADER) in translateImpl() 952 else if (getShaderType() == GL_VERTEX_SHADER) in translateImpl() 990 !ReplaceClipDistanceAssignments(this, root, &getSymbolTable(), getShaderType(), in translateImpl() 1006 else if (getShaderType() == GL_GEOMETRY_SHADER) in translateImpl() 1014 ASSERT(getShaderType() == GL_COMPUTE_SHADER); in translateImpl() 1018 if (getShaderType() == GL_VERTEX_SHADER) in translateImpl() [all …]
|
D | TranslatorMetal.cpp | 122 SpecConstMetal specConst(&getSymbolTable(), compileOptions, getShaderType()); in translate() 136 if (getShaderType() == GL_VERTEX_SHADER) in translate() 152 else if (getShaderType() == GL_FRAGMENT_SHADER) in translate() 162 if ((getShaderType() == GL_VERTEX_SHADER || getShaderType() == GL_GEOMETRY_SHADER_EXT) && in translate()
|
D | TranslatorHLSL.cpp | 131 if (getOutputType() == SH_HLSL_3_0_OUTPUT && getShaderType() == GL_VERTEX_SHADER) in translate() 174 getShaderType() == GL_VERTEX_SHADER) in translate() 212 sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), in translate()
|
D | TranslatorVulkan.cpp | 586 switch (compiler->getShaderType()) in AddXfbExtensionSupport() 812 if (getShaderType() == GL_VERTEX_SHADER) in translateImpl() 908 getShaderType() == GL_FRAGMENT_SHADER)) in translateImpl() 919 gl::ShaderType packedShaderType = gl::FromGLenum<gl::ShaderType>(getShaderType()); in translateImpl() 929 if (getShaderType() == GL_COMPUTE_SHADER) in translateImpl() 1001 !ReplaceClipDistanceAssignments(this, root, &getSymbolTable(), getShaderType(), in translateImpl() 1007 !ReplaceCullDistanceAssignments(this, root, &getSymbolTable(), getShaderType())) in translateImpl() 1352 SpecConst specConst(&getSymbolTable(), compileOptions, getShaderType()); in translate() 1414 if (!GlslangCompileToSpirv(getResources(), getShaderType(), glsl.str(), &spirvBlob)) in compileToSpirv()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | SamplerMultisample_test.cpp | 23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleTest 38 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleArrayTest 344 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleEXTTest
|
D | InitOutputVariables_test.cpp | 196 if (getShaderType() == GL_VERTEX_SHADER) in SetUp() 210 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2VertexShaderTest 216 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2FragmentShaderTest 234 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL1FragmentShaderTest 254 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesVertexShaderClipDistanceTest
|
D | QualificationOrder_test.cpp | 25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in QualificationOrderFragmentShaderTest 36 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in QualificationOrderVertexShaderTest
|
D | RewriteDoWhile_test.cpp | 23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in RewriteDoWhileCrashTest
|
D | GlFragDataNotModified_test.cpp | 28 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in __anon066b85820111::GlFragDataNotModifiedTest
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | SamplerMultisample_test.cpp | 23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleTest 38 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleArrayTest 344 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleEXTTest
|
D | InitOutputVariables_test.cpp | 196 if (getShaderType() == GL_VERTEX_SHADER) in SetUp() 210 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2VertexShaderTest 216 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2FragmentShaderTest 234 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL1FragmentShaderTest
|
D | QualificationOrder_test.cpp | 25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in QualificationOrderFragmentShaderTest 36 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in QualificationOrderVertexShaderTest
|
D | VectorizeVectorScalarArithmetic_test.cpp | 25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in VectorizeVectorScalarArithmeticTest
|
D | RewriteDoWhile_test.cpp | 23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in RewriteDoWhileCrashTest
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ShaderVk.cpp | 42 if (mState.getShaderType() != gl::ShaderType::Compute) in compile() 96 else if (mState.getShaderType() == gl::ShaderType::Vertex && in compile()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | glslang.y | 124 if (context->getShaderType() != GL_FRAGMENT_SHADER && \ 125 context->getShaderType() != GL_VERTEX_SHADER) { \ 132 if (context->getShaderType() != GL_VERTEX_SHADER) { \ 139 if (context->getShaderType() != GL_FRAGMENT_SHADER) { \ 906 if (context->getShaderType() == GL_VERTEX_SHADER) 915 if (context->getShaderType() == GL_VERTEX_SHADER) 964 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentIn : EvqVertexIn; 968 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut : EvqVertexOut; 972 if (context->getShaderType() == GL_VERTEX_SHADER) 977 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqCentroidIn : EvqVertexIn; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ShaderD3D.cpp | 118 mData.getShaderType() == gl::ShaderType::Vertex) in ShaderD3D() 141 return mDebugInfo + std::string("\n// ") + gl::GetShaderTypeString(mData.getShaderType()) + in getDebugInfo() 329 std::string("// ") + gl::GetShaderTypeString(mData.getShaderType()) + " SHADER BEGIN\n"; in compile()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 131 mShaderType(compiler->getShaderType()), in DeclarePerVertexBlocksTraverser() 433 if (compiler->getShaderType() == GL_COMPUTE_SHADER || in DeclarePerVertexBlocks() 434 compiler->getShaderType() == GL_FRAGMENT_SHADER) in DeclarePerVertexBlocks()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ShaderD3D.cpp | 120 mState.getShaderType() == gl::ShaderType::Vertex) in ShaderD3D() 147 return mDebugInfo + std::string("\n// ") + gl::GetShaderTypeString(mState.getShaderType()) + in getDebugInfo() 361 mDebugInfo += std::string("// ") + gl::GetShaderTypeString(mState.getShaderType()) + in compile()
|