Home
last modified time | relevance | path

Searched refs:ShShaderOutput (Results 1 – 25 of 66) sorted by relevance

123

/external/angle/src/tests/test_utils/
Dcompiler_test.h28 ShShaderOutput output,
37 ShShaderOutput output,
48 ShShaderOutput outputType);
50 void addOutputType(const ShShaderOutput outputType);
68 bool foundInCode(ShShaderOutput output, const char *stringToFind) const;
69 bool foundInCodeRegex(ShShaderOutput output,
74 bool foundInCodeInOrder(ShShaderOutput output, std::vector<const char *> stringsToFind);
77 bool foundInCode(ShShaderOutput output,
95 bool compileWithSettings(ShShaderOutput output,
105 std::map<ShShaderOutput, std::string> mOutputCode;
Dcompiler_test.cpp65 ShShaderOutput output, in compileTestShader()
98 ShShaderOutput output, in compileTestShader()
112 ShShaderOutput outputType) in MatchOutputCodeTest()
119 void MatchOutputCodeTest::addOutputType(const ShShaderOutput outputType) in addOutputType()
149 bool MatchOutputCodeTest::compileWithSettings(ShShaderOutput output, in compileWithSettings()
159 bool MatchOutputCodeTest::foundInCodeRegex(ShShaderOutput output, in foundInCodeRegex()
186 bool MatchOutputCodeTest::foundInCode(ShShaderOutput output, const char *stringToFind) const in foundInCode()
204 bool MatchOutputCodeTest::foundInCodeInOrder(ShShaderOutput output, in foundInCodeInOrder()
233 bool MatchOutputCodeTest::foundInCode(ShShaderOutput output, in foundInCode()
/external/angle/src/compiler/translator/
Dutil.h80 bool IsOutputESSL(ShShaderOutput output);
81 bool IsOutputGLSL(ShShaderOutput output);
82 bool IsOutputHLSL(ShShaderOutput output);
83 bool IsOutputVulkan(ShShaderOutput output);
84 bool IsOutputMetal(ShShaderOutput output);
85 bool IsOutputMetalDirect(ShShaderOutput output);
DCompiler.h47 bool IsGLSL130OrNewer(ShShaderOutput output);
48 bool IsGLSL420OrNewer(ShShaderOutput output);
49 bool IsGLSL410OrOlder(ShShaderOutput output);
56 ShShaderOutput outputType,
88 TCompiler(sh::GLenum type, ShShaderSpec spec, ShShaderOutput output);
136 ShShaderOutput getOutputType() const { return mOutputType; } in getOutputType()
208 const ShShaderOutput outputLanguage);
282 ShShaderOutput mOutputType;
351 TCompiler *ConstructCompiler(sh::GLenum type, ShShaderSpec spec, ShShaderOutput output);
DVersionGLSL.h30 int ShaderOutputTypeToGLSLVersion(ShShaderOutput output);
50 TVersionGLSL(sh::GLenum type, const TPragma &pragma, ShShaderOutput output);
DblocklayoutHLSL.h44 static HLSLBlockEncoderStrategy GetStrategyFor(ShShaderOutput outputType);
65 unsigned int HLSLVariableRegisterCount(const ShaderVariable &variable, ShShaderOutput outputType);
DResourcesHLSL.h26 ShShaderOutput outputType,
33 ShShaderOutput outputType,
140 ShShaderOutput mOutputType;
DOutputGLSLBase.h30 ShShaderOutput output,
33 ShShaderOutput getShaderOutput() const { return mOutput; } in getShaderOutput()
118 ShShaderOutput mOutput;
DVersionGLSL.cpp20 int ShaderOutputTypeToGLSLVersion(ShShaderOutput output) in ShaderOutputTypeToGLSLVersion()
69 TVersionGLSL::TVersionGLSL(sh::GLenum type, const TPragma &pragma, ShShaderOutput output) in TVersionGLSL()
Dutil.cpp749 bool IsOutputESSL(ShShaderOutput output) in IsOutputESSL()
754 bool IsOutputGLSL(ShShaderOutput output) in IsOutputGLSL()
775 bool IsOutputHLSL(ShShaderOutput output) in IsOutputHLSL()
788 bool IsOutputVulkan(ShShaderOutput output) in IsOutputVulkan()
792 bool IsOutputMetal(ShShaderOutput output) in IsOutputMetal()
796 bool IsOutputMetalDirect(ShShaderOutput output) in IsOutputMetalDirect()
DblocklayoutHLSL.cpp119 ShShaderOutput outputType) in GetStrategyFor()
158 unsigned int HLSLVariableRegisterCount(const ShaderVariable &variable, ShShaderOutput outputType) in HLSLVariableRegisterCount()
/external/angle/src/tests/compiler_tests/
DEXT_shader_framebuffer_fetch_test.cpp126 std::map<ShShaderOutput, std::string> shaderOutputList = { in SetUp()
144 void Initialize(std::map<ShShaderOutput, std::string> &shaderOutputList) in Initialize() argument
155 void DestroyCompiler(ShShaderOutput shaderOutputType) in DestroyCompiler()
172 void InitializeCompiler(ShShaderOutput shaderOutputType) in InitializeCompiler()
184 testing::AssertionResult TestShaderCompile(ShShaderOutput shaderOutputType, const char *pragma) in TestShaderCompile()
225 std::map<ShShaderOutput, std::string> mShaderOutputList;
226 std::map<ShShaderOutput, ShHandle> mCompilerList;
227 std::map<ShShaderOutput, ShBuiltInResources> mResourceList;
332 std::map<ShShaderOutput, std::string> shaderOutputList = { in SetUp()
DExpressionLimit_test.cpp260 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
282 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
307 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
329 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
351 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
554 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
576 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
599 ShShaderOutput output = SH_ESSL_OUTPUT; in TEST_F()
DEXT_clip_cull_distance_test.cpp247 void InitializeCompiler(ShShaderOutput shaderOutputType, GLenum shaderType) in InitializeCompiler()
282 void InitializeCompiler(ShShaderOutput shaderOutputType) in InitializeCompiler()
292 void InitializeCompiler(ShShaderOutput shaderOutputType) in InitializeCompiler()
/external/angle/src/libANGLE/
DCompiler.h40 ShShaderOutput getShaderOutputType() const { return mOutputType; } in getShaderOutputType()
46 ShShaderOutput mOutputType;
55 ShCompilerInstance(ShHandle handle, ShShaderOutput outputType, ShaderType shaderType);
65 ShShaderOutput getShaderOutputType() const;
69 ShShaderOutput mOutputType;
/external/angle/src/libANGLE/renderer/d3d/
DCompilerD3D.h21 CompilerD3D(ShShaderOutput translatorOutputType);
24 ShShaderOutput getTranslatorOutputType() const override;
27 ShShaderOutput mTranslatorOutputType;
DCompilerD3D.cpp15 CompilerD3D::CompilerD3D(ShShaderOutput translatorOutputType) in CompilerD3D()
19 ShShaderOutput CompilerD3D::getTranslatorOutputType() const in getTranslatorOutputType()
DShaderD3D.h82 ShShaderOutput getCompilerOutputType() const;
103 ShShaderOutput mCompilerOutputType;
/external/angle/src/libANGLE/renderer/gl/
DCompilerGL.cpp20 ShShaderOutput GetShaderOutputType(const FunctionsGL *functions) in GetShaderOutputType()
80 return ShShaderOutput(0); in GetShaderOutputType()
90 ShShaderOutput CompilerGL::getTranslatorOutputType() const in getTranslatorOutputType()
DCompilerGL.h24 ShShaderOutput getTranslatorOutputType() const override;
27 ShShaderOutput mTranslatorOutputType;
/external/angle/src/compiler/translator/tree_ops/
DEmulatePrecision.cpp27 static RoundingHelperWriter *createHelperWriter(const ShShaderOutput outputLanguage);
39 RoundingHelperWriter(const ShShaderOutput outputLanguage) : mOutputLanguage(outputLanguage) {} in RoundingHelperWriter()
42 const ShShaderOutput mOutputLanguage;
57 RoundingHelperWriterGLSL(const ShShaderOutput outputLanguage) in RoundingHelperWriterGLSL()
74 RoundingHelperWriterESSL(const ShShaderOutput outputLanguage) in RoundingHelperWriterESSL()
85 RoundingHelperWriterHLSL(const ShShaderOutput outputLanguage) in RoundingHelperWriterHLSL()
99 RoundingHelperWriter *RoundingHelperWriter::createHelperWriter(const ShShaderOutput outputLanguage) in createHelperWriter()
668 const ShShaderOutput outputLanguage) in writeEmulationHelpers()
687 bool EmulatePrecision::SupportedInLanguage(const ShShaderOutput outputLanguage) in SupportedInLanguage()
DEmulatePrecision.h39 const ShShaderOutput outputLanguage);
41 static bool SupportedInLanguage(const ShShaderOutput outputLanguage);
/external/angle/src/tests/perf_tests/
DCompilerPerf.cpp171 CompilerParameters(ShShaderOutput output) : output(output) {} in CompilerParameters()
189 ShShaderOutput output;
224 CompilerPerfParameters(ShShaderOutput output, in CompilerPerfParameters()
/external/angle/src/libANGLE/renderer/null/
DCompilerNULL.cpp21 ShShaderOutput CompilerNULL::getTranslatorOutputType() const in getTranslatorOutputType()
/external/angle/src/libANGLE/renderer/vulkan/
DCompilerVk.cpp21 ShShaderOutput CompilerVk::getTranslatorOutputType() const in getTranslatorOutputType()

123