Home
last modified time | relevance | path

Searched refs:fragment_shader (Results 1 – 25 of 30) sorted by relevance

12

/external/libkmsxx/kmscube/
Dcube-gles2.cpp11 GLuint vertex_shader, fragment_shader; in GlScene() local
162 fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in GlScene()
164 glShaderSource(fragment_shader, 1, &fragment_shader_source, NULL); in GlScene()
165 glCompileShader(fragment_shader); in GlScene()
167 glGetShaderiv(fragment_shader, GL_COMPILE_STATUS, &ret); in GlScene()
173 glAttachShader(program, fragment_shader); in GlScene()
/external/deqp-deps/amber/src/dawn/
Dpipeline_info.h48 : pipeline(the_pipeline), vertex_shader(vert), fragment_shader(frag) {} in RenderPipelineInfo()
53 ::dawn::ShaderModule fragment_shader;
Dpipeline_info_test.cc42 EXPECT_FALSE(static_cast<bool>(rpi.fragment_shader)); in TEST_F()
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp238 const std::string fragment_shader = m_fragment_shader_code_case_0; in MaxClipDistancesValueInVertexShaderTest() local
243 …gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader, transform_feedb… in MaxClipDistancesValueInVertexShaderTest()
324 const std::string fragment_shader = m_fragment_shader_code_case_1; in MaxClipDistancesValueInFragmentShaderTest() local
326 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in MaxClipDistancesValueInFragmentShaderTest()
412 const std::string fragment_shader = m_fragment_shader_code_case_2; in ClipDistancesValuePassing() local
414 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in ClipDistancesValuePassing()
1347 const CompilationStatus& vertex_shader, const CompilationStatus& fragment_shader, in linkShaders() argument
1352 if (vertex_shader.shader_id && fragment_shader.shader_id) in linkShaders()
1379 m_gl.attachShader(program.program_id, fragment_shader.shader_id); in linkShaders()
1425 m_gl.detachShader(program.program_id, fragment_shader.shader_id); in linkShaders()
Dgl3cTextureSizePromotion.cpp751 std::string fragment_shader = s_fragment_shader_template; in prepareProgram() local
753 fragment_shader = Utilities::preprocessString(fragment_shader, "TEMPLATE_TYPE", type_name); in prepareProgram()
754 fragment_shader = in prepareProgram()
755 …Utilities::preprocessString(fragment_shader, "TEMPLATE_SAMPLER", sampler_prefix.append(sampler_nam… in prepareProgram()
756 fragment_shader = in prepareProgram()
757 …Utilities::preprocessString(fragment_shader, "TEMPLATE_TEXEL_FETCH_ARGUMENTS", texel_fetch_argumen… in prepareProgram()
758fragment_shader = Utilities::preprocessString(fragment_shader, "TEMPLATE_COMPONENT", component_nam… in prepareProgram()
762 …ildProgram(gl, m_context.getTestContext().getLog(), s_vertex_shader_code, fragment_shader.c_str()); in prepareProgram()
Dgl3cClipDistance.hpp106 …tatus linkShaders(const CompilationStatus& vertex_shader, const CompilationStatus& fragment_shader,
Dgl4cBufferStorageTests.cpp257 …void Init(const std::string& compute_shader, const std::string& fragment_shader, const std::string…
986 void Program::Init(const std::string& compute_shader, const std::string& fragment_shader, in Init() argument
998 m_fragment.Init(GL_FRAGMENT_SHADER, fragment_shader); in Init()
3332 static const GLchar* fragment_shader = "#version 440 core\n" in iterate() local
3521 …program.Init("" /* cs */, fragment_shader, geometry_shader, "" /* tcs */, "" /* tes */, vertex_sha… in iterate()
Dgl4cEnhancedLayoutsTests.cpp2708 void Program::Init(const std::string& compute_shader, const std::string& fragment_shader, in Init() argument
2721 m_fragment.Init(Shader::FRAGMENT, fragment_shader); in Init()
2751 …throw BuildException(exc.what(), compute_shader, fragment_shader, geometry_shader, tessellation_co… in Init()
2766 void Program::Init(const std::string& compute_shader, const std::string& fragment_shader, in Init() argument
2773 …Init(compute_shader, fragment_shader, geometry_shader, tessellation_control_shader, tessellation_e… in Init()
3177 const std::string fragment_shader, const std::string geometry_shader, in BuildException() argument
3182 , m_fragment_shader(fragment_shader) in BuildException()
5790 const std::string& fragment_shader = getShaderSource(test_case_index, Utils::Shader::FRAGMENT); in test() local
5797 …program.Init("" /* compute_shader */, fragment_shader, geometry_shader, tess_ctrl_shader, tess_eva… in test()
5811 << tcu::TestLog::KernelSource(fragment_shader); in test()
[all …]
Dgl4cEnhancedLayoutsTests.hpp729 const std::string fragment_shader, const std::string geometry_shader,
757 …void Init(const std::string& compute_shader, const std::string& fragment_shader, const std::string…
762 …void Init(const std::string& compute_shader, const std::string& fragment_shader, const std::string…
Dgl4cMultiBindTests.cpp284 …void Init(const std::string& compute_shader, const std::string& fragment_shader, const std::string…
672 void Program::Init(const std::string& compute_shader, const std::string& fragment_shader, in Init() argument
684 m_fragment.Init(GL_FRAGMENT_SHADER, fragment_shader); in Init()
/external/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp368 const GLchar* fragment_shader = NULL; in ImGui_ImplOpenGL3_CreateDeviceObjects() local
372 fragment_shader = fragment_shader_glsl_120; in ImGui_ImplOpenGL3_CreateDeviceObjects()
377 fragment_shader = fragment_shader_glsl_130; in ImGui_ImplOpenGL3_CreateDeviceObjects()
387 const GLchar* fragment_shader_with_version[2] = { g_GlslVersionString, fragment_shader }; in ImGui_ImplOpenGL3_CreateDeviceObjects()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc82 GLuint fragment_shader = LoadShader(GL_FRAGMENT_SHADER, fragment_source); in CreateProgram() local
83 if (!fragment_shader) { in CreateProgram()
91 glAttachShader(program, fragment_shader); in CreateProgram()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_fs.c67 draw->fs.fragment_shader = dfs; in draw_bind_fragment_shader()
Ddraw_prim_assembler.c60 const struct draw_fragment_shader *fs = draw->fs.fragment_shader; in needs_primid()
Ddraw_pipe_unfilled.c260 const struct draw_fragment_shader *fs = draw ? draw->fs.fragment_shader : 0; in draw_unfilled_prepare_outputs()
Ddraw_pipe_wide_point.c233 const struct draw_fragment_shader *fs = draw->fs.fragment_shader; in widepoint_first_point()
Ddraw_private.h345 struct draw_fragment_shader *fragment_shader; member
Ddraw_pipe_flatshade.c201 const struct draw_fragment_shader *fs = draw->fs.fragment_shader; in flatshade_init_state()
Ddraw_pipe_clip.c776 const struct draw_fragment_shader *fs = draw->fs.fragment_shader; in clip_init_state()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.cpp1080 glShaderWrapper fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in CreateGLTexture2DMultisample()
1081 glShaderSource(fragment_shader, 1, &fragment_source, NULL); in CreateGLTexture2DMultisample()
1082 glCompileShader(fragment_shader); in CreateGLTexture2DMultisample()
1087 glAttachShader(prog, fragment_shader); in CreateGLTexture2DMultisample()
1338 glShaderWrapper fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in CreateGLTexture2DArrayMultisample()
1339 glShaderSource(fragment_shader, 1, &fragment_source, NULL); in CreateGLTexture2DArrayMultisample()
1340 glCompileShader(fragment_shader); in CreateGLTexture2DArrayMultisample()
1345 glAttachShader(prog, fragment_shader); in CreateGLTexture2DArrayMultisample()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c114 void *fragment_shader, *fragment_shader_saved; member
693 if (ctx->fragment_shader != handle) { in cso_set_fragment_shader_handle()
694 ctx->fragment_shader = handle; in cso_set_fragment_shader_handle()
703 ctx->fragment_shader_saved = ctx->fragment_shader; in cso_save_fragment_shader()
709 if (ctx->fragment_shader_saved != ctx->fragment_shader) { in cso_restore_fragment_shader()
711 ctx->fragment_shader = ctx->fragment_shader_saved; in cso_restore_fragment_shader()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp4372 , fragment_shader(0)
4421 return fragment_shader;
4460 fragment_shader = shader_group.sampling_fragment_shader;
4462 is_program_defined = ((0 != fragment_shader) && (0 != vertex_shader));
4465 fragment_shader = shader_group.pass_through_fragment_shader;
4468 is_program_defined = ((0 != fragment_shader) && (0 != geometry_shader) && (0 != vertex_shader));
4471 fragment_shader = shader_group.pass_through_fragment_shader;
4475 is_program_defined = ((0 != fragment_shader) && (0 != tesselation_control_shader) &&
4479 fragment_shader = shader_group.pass_through_fragment_shader;
4486 is_program_defined = ((0 != fragment_shader) && (0 != tesselation_control_shader) &&
[all …]
DesextcTextureCubeMapArraySampling.hpp504 const shaderDefinition* fragment_shader; member in glcts::TextureCubeMapArraySamplingTest::programDefinition
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.hpp162 …void Init(const std::string& compute_shader, const std::string& fragment_shader, const std::string…
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c56 DRI_CONF_OPT_B(fragment_shader, true,

12