Home
last modified time | relevance | path

Searched refs:GetShader (Results 1 – 12 of 12) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.cpp291 angle::Result GetShader(Context *context, in GetShader() function
375 return GetShader(context, mBlitResolve_frag_shaders, kBlitResolve_frag_shaders, in getBlitResolve_frag()
384 return GetShader(context, mBlitResolveStencilNoExport_comp_shaders, in getBlitResolveStencilNoExport_comp()
393 return GetShader(context, mBufferUtils_comp_shaders, kBufferUtils_comp_shaders, in getBufferUtils_comp()
401 return GetShader(context, mConvertIndex_comp_shaders, kConvertIndex_comp_shaders, in getConvertIndex_comp()
410 return GetShader(context, mConvertIndexIndirectLineLoop_comp_shaders, in getConvertIndexIndirectLineLoop_comp()
420 return GetShader(context, mConvertIndirectLineLoop_comp_shaders, in getConvertIndirectLineLoop_comp()
429 return GetShader(context, mConvertVertex_comp_shaders, kConvertVertex_comp_shaders, in getConvertVertex_comp()
437 return GetShader(context, mFullScreenQuad_vert_shaders, kFullScreenQuad_vert_shaders, in getFullScreenQuad_vert()
445 return GetShader(context, mImageClear_frag_shaders, kImageClear_frag_shaders, in getImageClear_frag()
[all …]
/external/deqp-deps/amber/src/amberscript/
Dparser_shader_opt_test.cc63 ASSERT_TRUE(shaders[0].GetShader() != nullptr); in TEST_F()
64 EXPECT_EQ(kShaderTypeVertex, shaders[0].GetShader()->GetType()); in TEST_F()
68 ASSERT_TRUE(shaders[1].GetShader() != nullptr); in TEST_F()
69 EXPECT_EQ(kShaderTypeFragment, shaders[1].GetShader()->GetType()); in TEST_F()
73 ASSERT_TRUE(shaders[2].GetShader() != nullptr); in TEST_F()
74 EXPECT_EQ(kShaderTypeGeometry, shaders[2].GetShader()->GetType()); in TEST_F()
Dparser_pipeline_test.cc53 ASSERT_TRUE(shaders[0].GetShader() != nullptr); in TEST_F()
54 EXPECT_EQ("my_shader", shaders[0].GetShader()->GetName()); in TEST_F()
55 EXPECT_EQ(kShaderTypeVertex, shaders[0].GetShader()->GetType()); in TEST_F()
59 ASSERT_TRUE(shaders[1].GetShader() != nullptr); in TEST_F()
60 EXPECT_EQ("my_fragment", shaders[1].GetShader()->GetName()); in TEST_F()
61 EXPECT_EQ(kShaderTypeFragment, shaders[1].GetShader()->GetType()); in TEST_F()
284 EXPECT_EQ("my_shader", shaders1[0].GetShader()->GetName()); in TEST_F()
285 EXPECT_EQ("my_fragment", shaders1[1].GetShader()->GetName()); in TEST_F()
298 EXPECT_EQ("my_shader", shaders2[0].GetShader()->GetName()); in TEST_F()
299 EXPECT_EQ("other_fragment", shaders2[1].GetShader()->GetName()); in TEST_F()
Dparser_attach_test.cc167 ASSERT_TRUE(shaders[0].GetShader() != nullptr); in TEST_F()
168 EXPECT_EQ(kShaderTypeVertex, shaders[0].GetShader()->GetType()); in TEST_F()
171 ASSERT_TRUE(shaders[1].GetShader() != nullptr); in TEST_F()
172 EXPECT_EQ(kShaderTypeFragment, shaders[1].GetShader()->GetType()); in TEST_F()
242 ASSERT_TRUE(shaders[0].GetShader() != nullptr); in TEST_F()
243 EXPECT_EQ(kShaderTypeMulti, shaders[0].GetShader()->GetType()); in TEST_F()
Dparser.cc434 auto* shader = script_->GetShader(token->AsString()); in ParsePipelineAttach()
564 auto* shader = script_->GetShader(token->AsString()); in ParsePipelineShaderOptimizations()
599 auto* shader = script_->GetShader(token->AsString()); in ParsePipelineShaderCompileOptions()
815 pipeline->GetShaders()[0].GetShader()->GetFormat() != in ParsePipelineSet()
/external/deqp-deps/amber/src/
Dpipeline.cc80 const auto* is = info.GetShader(); in AddShader()
107 const auto* is = info.GetShader(); in SetShaderOptimizations()
124 const auto* is = info.GetShader(); in SetShaderCompileOptions()
143 if (info.GetShader() == shader) { in SetShaderEntryPoint()
161 if (info.GetShader() == shader) { in SetShaderType()
201 const auto* s = info.GetShader(); in ValidateGraphics()
405 GetShaders()[0].GetShader()->GetFormat() != kShaderFormatOpenCLC) in UpdateOpenCLBufferBindings()
469 GetShaders()[0].GetShader()->GetFormat() != kShaderFormatOpenCLC) { in GenerateOpenCLPodBuffers()
Dscript_test.cc98 TEST_F(ScriptTest, GetShader) { in TEST_F() argument
108 EXPECT_EQ(ptr, s.GetShader("My Shader")); in TEST_F()
113 EXPECT_TRUE(s.GetShader("My Shader") == nullptr); in TEST_F()
Dclspv_helper.cc28 const auto& src_str = shader_info->GetShader()->GetData(); in Compile()
Dscript.h101 Shader* GetShader(const std::string& name) const { in GetShader() function
Dpipeline.h64 const Shader* GetShader() const { return shader_; } in GetShader() function
Dshader_compiler.cc59 const auto shader = shader_info->GetShader(); in Compile()
Dpipeline_test.cc70 EXPECT_EQ(&v, shaders[0].GetShader()); in TEST_F()
71 EXPECT_EQ(&f, shaders[1].GetShader()); in TEST_F()