Home
last modified time | relevance | path

Searched refs:mResources (Results 1 - 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCompiler.cpp72 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 DCompiler.h47 ShBuiltInResources mResources; member in gl::final
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DCompiler.cpp357 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 DSymbolTable.h328 int getDefaultUniformsBindingIndex() const { return mResources.DefaultUniformsBindingIndex; }
329 int getDriverUniformsBindingIndex() const { return mResources.DriverUniformsBindingIndex; }
332 return mResources.UBOArgumentBufferBindingIndex;
373 ShBuiltInResources mResources;
H A DCompiler.h137 ShHashFunction64 getHashFunction() const { return mResources.HashFunction; } in getHashFunction()
299 ShBuiltInResources mResources; member in sh::TCompiler
H A DCollectVariables.cpp248 const ShBuiltInResources &mResources; member in sh::__anon19739::CollectVariablesTraverser
319 mResources(resources) in CollectVariablesTraverser()
797 variableOut->arraySizes[0] = mResources.MaxPatchVertices; in setFieldOrVariableProperties()
H A DSymbolTable.cpp401 mResources = resources;
H A DSymbolTable_ESSL_autogen.cpp[all...]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DAPPLE_clip_distance_test.cpp54 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 DEXT_clip_cull_distance_test.cpp252 &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 DEXT_blend_func_extended_test.cpp164 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 DEXT_YUV_target_test.cpp247 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 DFragDepth_test.cpp26 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 DShCompile_test.cpp25 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 DOES_sample_variables_test.cpp71 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 DEXT_shader_texture_lod_test.cpp34 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 DEXT_shadow_samplers_test.cpp33 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 DOES_standard_derivatives_test.cpp55 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 DEXT_frag_depth_test.cpp33 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 DCompilerPerf.cpp262 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 DShaderExtensionTest.h32 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 Dcompiler_test.cpp116 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 Dcompiler_test.h103 ShBuiltInResources mResources; member in sh::MatchOutputCodeTest
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
H A DDeclarePerVertexBlocks.cpp133 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 DEmulateFragColorData.cpp31 : TIntermTraverser(true, false, false, symbolTable), mResources(compiler->getResources()) in EmulateFragColorDataTraverser()
108 const ShBuiltInResources &mResources; member in sh::__anon19879::EmulateFragColorDataTraverser

Completed in 45 milliseconds

12