/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Compiler.cpp | 72 mResources() in Compiler() 90 sh::InitBuiltInResources(&mResources); in Compiler() 91 mResources.MaxVertexAttribs = caps.maxVertexAttributes; in Compiler() 92 mResources.MaxVertexUniformVectors = caps.maxVertexUniformVectors; in Compiler() 93 mResources.MaxVaryingVectors = caps.maxVaryingVectors; in Compiler() 94 mResources.MaxVertexTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Vertex]; in Compiler() 95 mResources.MaxCombinedTextureImageUnits = caps.maxCombinedTextureImageUnits; in Compiler() 96 mResources.MaxTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Fragment]; in Compiler() 97 mResources.MaxFragmentUniformVectors = caps.maxFragmentUniformVectors; in Compiler() 98 mResources in Compiler() [all...] |
H A D | Compiler.h | 47 ShBuiltInResources mResources; member in gl::final
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Compiler.cpp | 357 mResources.FragmentPrecisionHigh == 1; in isHighPrecisionSupported() 384 mResources = resources; in Init() 411 ResetExtensionBehavior(mResources, mExtensionBehavior, compileOptions); in compileTreeImpl() 449 parseContext.setFragmentPrecisionHighOnESSL1(mResources.FragmentPrecisionHigh == 1); in compileTreeImpl() 782 !ValidateOutputs(root, getExtensionBehavior(), mResources.MaxDrawBuffers, &mDiagnostics)) in checkAndSimplifyAST() 790 mResources.MaxCombinedClipAndCullDistances)) in checkAndSimplifyAST() 878 if (mShaderType == GL_FRAGMENT_SHADER && mShaderVersion == 100 && mResources.EXT_draw_buffers && in checkAndSimplifyAST() 879 mResources.MaxDrawBuffers > 1 && in checkAndSimplifyAST() 882 if (!EmulateGLFragColorBroadcast(this, root, mResources.MaxDrawBuffers, &mOutputVariables, in checkAndSimplifyAST() 968 &mShaderStorageBlocks, mResources in checkAndSimplifyAST() [all...] |
H A D | SymbolTable.h | 328 int getDefaultUniformsBindingIndex() const { return mResources.DefaultUniformsBindingIndex; } 329 int getDriverUniformsBindingIndex() const { return mResources.DriverUniformsBindingIndex; } 332 return mResources.UBOArgumentBufferBindingIndex; 373 ShBuiltInResources mResources;
|
H A D | Compiler.h | 137 ShHashFunction64 getHashFunction() const { return mResources.HashFunction; } in getHashFunction() 299 ShBuiltInResources mResources; member in sh::TCompiler
|
H A D | CollectVariables.cpp | 248 const ShBuiltInResources &mResources; member in sh::__anon19739::CollectVariablesTraverser 319 mResources(resources) in CollectVariablesTraverser() 797 variableOut->arraySizes[0] = mResources.MaxPatchVertices; in setFieldOrVariableProperties()
|
H A D | SymbolTable.cpp | 401 mResources = resources;
|
H A D | SymbolTable_ESSL_autogen.cpp | [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A D | APPLE_clip_distance_test.cpp | 54 shaderOutputType, &mResources); in InitializeCompiler() 75 mResources.APPLE_clip_distance = 0; in TEST_P() 84 mResources.APPLE_clip_distance = 1; in TEST_P() 93 mResources.APPLE_clip_distance = 1; in TEST_P() 94 mResources.MaxClipDistances = 8; in TEST_P() 106 mResources.APPLE_clip_distance = 1; in TEST_P() 107 mResources.MaxClipDistances = 8; in TEST_P() 116 mResources.APPLE_clip_distance = 0; in TEST_P() 117 mResources.MaxClipDistances = 0; in TEST_P() 118 mResources in TEST_P() [all...] |
H A D | EXT_clip_cull_distance_test.cpp | 252 &mResources); in InitializeCompiler() 272 mResources.APPLE_clip_distance = enable; in SetExtensionEnable() 274 mResources.EXT_clip_cull_distance = enable; in SetExtensionEnable() 322 mResources.MaxClipDistances = 8; in TEST_P() 323 mResources.MaxCullDistances = 8; in TEST_P() 324 mResources.MaxCombinedClipAndCullDistances = 8; in TEST_P() 359 mResources.MaxClipDistances = 8; in TEST_P() 360 mResources.MaxCullDistances = 8; in TEST_P() 361 mResources.MaxCombinedClipAndCullDistances = 8; in TEST_P() 381 mResources in TEST_P() [all...] |
H A D | EXT_blend_func_extended_test.cpp | 164 mResources.EXT_draw_buffers = 1; 165 mResources.NV_draw_buffers = 2; 173 mResources.EXT_blend_func_extended = 0; in TEST_P() 182 mResources.EXT_blend_func_extended = 1; in TEST_P() 183 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P() 192 mResources.EXT_blend_func_extended = 1; in TEST_P() 193 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P() 226 mResources.EXT_blend_func_extended = 1; in TEST_P() 227 mResources.MaxDualSourceDrawBuffers = 1; in TEST_P()
|
H A D | EXT_YUV_target_test.cpp | 247 mResources.EXT_YUV_target = 0; in TEST_P() 256 mResources.EXT_YUV_target = 1; in TEST_P() 265 mResources.EXT_YUV_target = 1; in TEST_P() 285 mResources.EXT_YUV_target = 1; in TEST_P() 305 mResources.EXT_YUV_target = 1; in TEST_P() 339 mResources.EXT_YUV_target = 0; in TEST_P()
|
H A D | FragDepth_test.cpp | 26 sh::InitBuiltInResources(&mResources); member in FragDepthTest::sh 28 mResources.EXT_frag_depth = GetParam(); 45 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in InitializeCompiler() 63 ShBuiltInResources mResources; member in FragDepthTest 104 if (mResources.EXT_frag_depth == 1) in TEST_P()
|
H A D | ShCompile_test.cpp | 25 sh::InitBuiltInResources(&mResources); member in ShCompileTest::sh 27 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); 48 ShBuiltInResources mResources; member in ShCompileTest 82 sh::InitBuiltInResources(&mResources); member in ShCompileComputeTest::sh 84 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); 242 sh::InitBuiltInResources(&mResources); member in ShCompileDesktopGLTest::sh 244 SH_GLSL_330_CORE_OUTPUT, &mResources);
|
H A D | OES_sample_variables_test.cpp | 71 shaderOutputType, &mResources); in InitializeCompiler() 96 mResources.OES_sample_variables = 0; in TEST_P() 105 mResources.OES_sample_variables = 1; in TEST_P() 115 mResources.OES_sample_variables = 1; in TEST_P()
|
H A D | EXT_shader_texture_lod_test.cpp | 34 mResources.EXT_shader_texture_lod = 0; in TEST_P() 43 mResources.EXT_shader_texture_lod = 1; in TEST_P() 52 mResources.EXT_shader_texture_lod = 1; in TEST_P()
|
H A D | EXT_shadow_samplers_test.cpp | 33 mResources.EXT_shadow_samplers = 0; in TEST_P() 42 mResources.EXT_shadow_samplers = 1; in TEST_P() 51 mResources.EXT_shadow_samplers = 1; in TEST_P()
|
H A D | OES_standard_derivatives_test.cpp | 55 mResources.OES_standard_derivatives = 0; in TEST_P() 64 mResources.OES_standard_derivatives = 1; in TEST_P() 73 mResources.OES_standard_derivatives = 1; in TEST_P()
|
H A D | EXT_frag_depth_test.cpp | 33 mResources.EXT_frag_depth = 0; in TEST_P() 42 mResources.EXT_frag_depth = 1; in TEST_P() 51 mResources.EXT_frag_depth = 1; in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | CompilerPerf.cpp | 262 ShBuiltInResources mResources; member in __anon20259::CompilerPerfTest 282 sh::InitBuiltInResources(&mResources); in SetUp() 283 mResources.FragmentPrecisionHigh = true; in SetUp() 284 if (!mTranslator->Init(mResources)) in SetUp()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | ShaderExtensionTest.h | 32 sh::InitBuiltInResources(&mResources); member in sh::ShaderExtensionTest::sh 50 SH_GLSL_COMPATIBILITY_OUTPUT, &mResources); in InitializeCompiler() 76 ShBuiltInResources mResources; member in sh::ShaderExtensionTest
|
H A D | compiler_test.cpp | 116 sh::InitBuiltInResources(&mResources); in MatchOutputCodeTest() 117 mResources.FragmentPrecisionHigh = 1; in MatchOutputCodeTest() 128 return &mResources; in getResources() 157 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
|
H A D | compiler_test.h | 103 ShBuiltInResources mResources; member in sh::MatchOutputCodeTest
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
H A D | DeclarePerVertexBlocks.cpp | 133 mResources(compiler->getResources()), in DeclarePerVertexBlocksTraverser() 368 arraySize = mResources.MaxPatchVertices; in declareDefaultGlOut() 383 uint32_t arraySize = mResources.MaxPatchVertices; in declareDefaultGlIn() 396 const ShBuiltInResources &mResources; member in sh::__anon19877::DeclarePerVertexBlocksTraverser
|
H A D | EmulateFragColorData.cpp | 31 : TIntermTraverser(true, false, false, symbolTable), mResources(compiler->getResources()) in EmulateFragColorDataTraverser() 108 const ShBuiltInResources &mResources; member in sh::__anon19879::EmulateFragColorDataTraverser
|