Home
last modified time | relevance | path

Searched refs:SH_VARIABLES (Results 1 – 19 of 19) sorted by relevance

/external/angle/src/tests/compiler_tests/
DEmulateGLDrawID_test.cpp22 : MatchOutputCodeTest(GL_VERTEX_SHADER, SH_VARIABLES, SH_GLSL_COMPATIBILITY_OUTPUT) in EmulateGLDrawIDTest()
34 SH_VARIABLES, &translatedCode, &infoLog); in CheckCompileFailure()
64 compile(shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID); in TEST_F()
65 compile("#version 100\n" + shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID); in TEST_F()
67 SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID); in TEST_F()
89 compile(shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID); in TEST_F()
165 compile(shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID); in TEST_F()
DEmulateGLBaseVertexBaseInstance_test.cpp22 : MatchOutputCodeTest(GL_VERTEX_SHADER, SH_VARIABLES, SH_GLSL_COMPATIBILITY_OUTPUT) in EmulateGLBaseVertexBaseInstanceTest()
34 SH_VARIABLES, &translatedCode, &infoLog); in CheckCompileFailure()
66 SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE); in TEST_F()
89 compile(shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE); in TEST_F()
213 compile(shaderString, SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE); in TEST_F()
DShaderVariable_test.cpp268 EXPECT_TRUE(sh::Compile(compiler, program1, 1, SH_VARIABLES)); in TEST()
269 EXPECT_FALSE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
294 EXPECT_TRUE(sh::Compile(compiler, program1, 1, SH_VARIABLES)); in TEST()
303 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
336 EXPECT_TRUE(sh::Compile(compiler, program1, 1, SH_VARIABLES)); in TEST()
345 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
382 EXPECT_TRUE(sh::Compile(compiler, program1, 1, SH_VARIABLES)); in TEST()
391 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
400 EXPECT_FALSE(sh::Compile(compiler, program3, 1, SH_VARIABLES)); in TEST()
DGLSLCompatibilityOutput_test.cpp21 : MatchOutputCodeTest(GL_VERTEX_SHADER, SH_VARIABLES, SH_GLSL_COMPATIBILITY_OUTPUT) in GLSLCompatibilityOutputTest()
DPruneUnusedFunctions_test.cpp28 int compilationFlags = SH_VARIABLES | (prune ? 0 : SH_DONT_PRUNE_UNUSED_FUNCTIONS); in compile()
DWorkGroupSize_test.cpp39 bool status = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE | SH_VARIABLES); in compile()
DUnrollFlatten_test.cpp34 SH_VARIABLES, &mTranslatedSource, &infoLog); in compile()
DInitOutputVariables_test.cpp194 mExtraCompileOptions |= SH_VARIABLES; in SetUp()
229 mExtraCompileOptions |= SH_VARIABLES; in InitOutputVariablesWebGL1FragmentShaderTest()
DAtomicCounter_test.cpp37 mExtraCompileOptions |= SH_VARIABLES; in TEST_F()
DShCompile_test.cpp42 ShCompileOptions options = SH_OBJECT_CODE | SH_VARIABLES | SH_INIT_OUTPUT_VARIABLES; in testCompile()
DShaderImage_test.cpp127 mExtraCompileOptions |= SH_VARIABLES; in SetUp()
DCollectVariables_test.cpp60 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES)); in validateDepthRangeShader()
110 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES)) in validateOutputVariableForShader()
126 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES | compileOptions)); in compile()
DShaderValidation_test.cpp89 mExtraCompileOptions |= (SH_VARIABLES | SH_ENFORCE_PACKING_RESTRICTIONS); in SetUp()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp158 ASSERT(mExtraCompileOptions & SH_VARIABLES); in getUniforms()
164 ASSERT(mExtraCompileOptions & SH_VARIABLES); in getAttributes()
/external/angle/src/tests/perf_tests/
DCompilerPerf.cpp307 ShCompileOptions compileOptions = SH_OBJECT_CODE | SH_VARIABLES | in step()
/external/angle/samples/shader_translator/
Dshader_translator.cpp103 compileOptions |= SH_VARIABLES; in main()
338 if (compiled && (compileOptions & SH_VARIABLES)) in main()
/external/angle/include/GLSLANG/
DShaderLang.h86 const ShCompileOptions SH_VARIABLES = UINT64_C(1) << 3; variable
/external/angle/src/libANGLE/
DShader.cpp326 ShCompileOptions options = (SH_OBJECT_CODE | SH_VARIABLES | SH_EMULATE_GL_DRAW_ID | in compile()
/external/angle/src/compiler/translator/
DCompiler.cpp1382 return (compileOptions & SH_VARIABLES) != 0; in shouldCollectVariables()