Home
last modified time | relevance | path

Searched refs:vertex_shader (Results 1 – 25 of 35) sorted by relevance

12

/external/autotest/client/deps/glbench/src/
Dattributefetchtest.cc66 const char* vertex_shader = NULL; in AttributeFetchShaderProgram() local
69 vertex_shader = simple_vertex_shader; in AttributeFetchShaderProgram()
72 vertex_shader = simple_vertex_shader_2_attr; in AttributeFetchShaderProgram()
75 vertex_shader = simple_vertex_shader_4_attr; in AttributeFetchShaderProgram()
78 vertex_shader = simple_vertex_shader_8_attr; in AttributeFetchShaderProgram()
83 GLuint program = InitShaderProgram(vertex_shader, simple_fragment_shader); in AttributeFetchShaderProgram()
Dvaryingsandddxytest.cc102 const char* vertex_shader = NULL; in VaryingsShaderProgram() local
106 vertex_shader = vertex_shader_1_varying; in VaryingsShaderProgram()
110 vertex_shader = vertex_shader_2_varying; in VaryingsShaderProgram()
114 vertex_shader = vertex_shader_4_varying; in VaryingsShaderProgram()
118 vertex_shader = vertex_shader_8_varying; in VaryingsShaderProgram()
124 GLuint program = InitShaderProgram(vertex_shader, fragment_shader); in VaryingsShaderProgram()
Dutils.cc333 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in InitShaderProgramWithHeaders() local
340 glShaderSource(vertex_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()
345 glCompileShader(vertex_shader); in InitShaderProgramWithHeaders()
346 print_shader_log(vertex_shader); in InitShaderProgramWithHeaders()
351 glAttachShader(program, vertex_shader); in InitShaderProgramWithHeaders()
357 glDeleteShader(vertex_shader); in InitShaderProgramWithHeaders()
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp237 const std::string vertex_shader = m_vertex_shader_code_case_0; in MaxClipDistancesValueInVertexShaderTest() local
243 …gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader, transform_feedb… in MaxClipDistancesValueInVertexShaderTest()
323 const std::string vertex_shader = m_vertex_shader_code_case_1; in MaxClipDistancesValueInFragmentShaderTest() local
326 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in MaxClipDistancesValueInFragmentShaderTest()
411 const std::string vertex_shader = m_vertex_shader_code_case_2; in ClipDistancesValuePassing() local
414 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in ClipDistancesValuePassing()
716 std::string vertex_shader = m_vertex_shader_code; in prepareVertexShaderCode() local
720vertex_shader = gl3cts::ClipDistance::Utility::preprocessCode(vertex_shader, "CLIP_DISTANCE_REDECL… in prepareVertexShaderCode()
725vertex_shader = gl3cts::ClipDistance::Utility::preprocessCode(vertex_shader, "CLIP_DISTANCE_REDECL… in prepareVertexShaderCode()
730 vertex_shader = in prepareVertexShaderCode()
[all …]
Dgl3cTransformFeedbackTests.cpp1792 std::string vertex_shader(s_vertex_shader_template); in testInvalidVarying() local
1794 vertex_shader = gl3cts::TransformFeedback::Utilities::preprocessCode( in testInvalidVarying()
1795 vertex_shader, "TEMPLATE_INPUT_OUTPUT_DECLARATIONS", "in float data;\n"); in testInvalidVarying()
1796vertex_shader = gl3cts::TransformFeedback::Utilities::preprocessCode(vertex_shader, "TEMPLATE_OUTP… in testInvalidVarying()
1801 …gl, m_context.getTestContext().getLog(), NULL, NULL, NULL, vertex_shader.c_str(), s_fragment_shade… in testInvalidVarying()
1838 std::string vertex_shader(s_vertex_shader_template); in testRepeatedVarying() local
1840 vertex_shader = gl3cts::TransformFeedback::Utilities::preprocessCode( in testRepeatedVarying()
1841 vertex_shader, "TEMPLATE_INPUT_OUTPUT_DECLARATIONS", "out float result;\n"); in testRepeatedVarying()
1842vertex_shader = gl3cts::TransformFeedback::Utilities::preprocessCode(vertex_shader, "TEMPLATE_OUTP… in testRepeatedVarying()
1848 …gl, m_context.getTestContext().getLog(), NULL, NULL, NULL, vertex_shader.c_str(), s_fragment_shade… in testRepeatedVarying()
[all …]
Dgl3cClipDistance.hpp106 …LinkageStatus linkShaders(const CompilationStatus& vertex_shader, const CompilationStatus& fragmen…
Dgl4cBufferStorageTests.cpp259 const std::string& vertex_shader);
988 const std::string& tesselation_evaluation_shader, const std::string& vertex_shader) in Init() argument
1002 m_vertex.Init(GL_VERTEX_SHADER, vertex_shader); in Init()
3412 static const GLchar* vertex_shader = "#version 440 core\n" in iterate() local
3521 …ram.Init("" /* cs */, fragment_shader, geometry_shader, "" /* tcs */, "" /* tes */, vertex_shader); in iterate()
/external/libkmsxx/kmscube/
Dcube-gles2.cpp11 GLuint vertex_shader, fragment_shader; in GlScene() local
155 vertex_shader = glCreateShader(GL_VERTEX_SHADER); in GlScene()
157 glShaderSource(vertex_shader, 1, &vertex_shader_source, NULL); in GlScene()
158 glCompileShader(vertex_shader); in GlScene()
160 glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &ret); in GlScene()
173 glAttachShader(program, vertex_shader); in GlScene()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c260 if (draw->vs.vertex_shader) { in draw_is_vs_window_space()
261 struct tgsi_shader_info *info = &draw->vs.vertex_shader->info; in draw_is_vs_window_space()
591 return &draw->vs.vertex_shader->info; in draw_get_shader_info()
690 const struct tgsi_shader_info *info = &draw->vs.vertex_shader->info; in draw_total_vs_outputs()
855 return draw->vs.vertex_shader->viewport_index_output; in draw_current_shader_viewport_index_output()
867 return draw->vs.vertex_shader->info.writes_viewport_index; in draw_current_shader_uses_viewport_index()
900 return draw->vs.vertex_shader->info.num_written_clipdistance; in draw_current_shader_num_written_clipdistances()
908 return draw->vs.vertex_shader->info.num_written_culldistance; in draw_current_shader_num_written_culldistances()
Ddraw_pt_fetch_shade_emit.c76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs; in fse_prepare()
146 fse->active = draw_vs_lookup_variant( draw->vs.vertex_shader, in fse_prepare()
175 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in fse_prepare()
Ddraw_vs.c113 draw->vs.vertex_shader = dvs; in draw_bind_vertex_shader()
125 draw->vs.vertex_shader = NULL; in draw_bind_vertex_shader()
Ddraw_pt_fetch_shade_pipeline_llvm.c155 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in llvm_middle_end_prepare()
418 struct draw_vertex_shader *vshader = draw->vs.vertex_shader; in llvm_pipeline_generic()
465 draw->vs.vertex_shader->info.writes_viewport_index)) { in llvm_pipeline_generic()
Ddraw_llvm.c552 llvm_vertex_shader(llvm->draw->vs.vertex_shader); in draw_llvm_create_variant()
575 tgsi_dump(llvm->draw->vs.vertex_shader->state.tokens, 0); in draw_llvm_create_variant()
613 const struct tgsi_token *tokens = llvm->draw->vs.vertex_shader->state.tokens; in generate_vs()
631 &llvm->draw->vs.vertex_shader->info, in generate_vs()
638 struct tgsi_shader_info* info = &llvm->draw->vs.vertex_shader->info; in generate_vs()
1153 int num_written_clipdistance = llvm->draw->vs.vertex_shader->info.num_written_clipdistance; in generate_clipmask()
1546 const struct tgsi_shader_info *vs_info = &draw->vs.vertex_shader->info; in draw_llvm_generate()
1993 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
1994 if (llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_llvm_make_variant_key()
1996 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_llvm_make_variant_key()
[all …]
Ddraw_pt_fetch_shade_pipeline.c77 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in fetch_pipeline_prepare()
236 struct draw_vertex_shader *vshader = draw->vs.vertex_shader; in fetch_pipeline_generic()
Ddraw_pipe_twoside.c106 const struct draw_vertex_shader *vs = stage->draw->vs.vertex_shader; in twoside_first_tri()
Ddraw_private.h260 struct draw_vertex_shader *vertex_shader; member
Ddraw_pt_so_emit.c62 state = &draw->vs.vertex_shader->state.stream_output; in draw_so_info()
Ddraw_pipe_wide_point.c269 const struct draw_vertex_shader *vs = draw->vs.vertex_shader; in widepoint_first_point()
Ddraw_pt.c491 tgsi_dump(draw->vs.vertex_shader->state.tokens, 0); in draw_vbo()
/external/webrtc/webrtc/modules/video_render/ios/
Dopen_gles20.mm198 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, vertex_source);
199 if (!vertex_shader) {
210 glAttachShader(program, vertex_shader);
234 if (vertex_shader) {
235 glDeleteShader(vertex_shader);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dno-hsa-graphics-shaders.ll9 define amdgpu_vs void @vertex_shader() #0 {
/external/llvm/test/CodeGen/AMDGPU/
Dno-hsa-graphics-shaders.ll9 define amdgpu_vs void @vertex_shader() #0 {
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c113 void *vertex_shader, *vertex_shader_saved; member
686 if (ctx->vertex_shader != handle) { in cso_set_vertex_shader_handle()
687 ctx->vertex_shader = handle; in cso_set_vertex_shader_handle()
694 if (handle == ctx->vertex_shader) { in cso_delete_vertex_shader()
697 ctx->vertex_shader = NULL; in cso_delete_vertex_shader()
706 ctx->vertex_shader_saved = ctx->vertex_shader; in cso_save_vertex_shader()
712 if (ctx->vertex_shader_saved != ctx->vertex_shader) { in cso_restore_vertex_shader()
714 ctx->vertex_shader = ctx->vertex_shader_saved; in cso_restore_vertex_shader()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp4375 , vertex_shader(0)
4433 return vertex_shader;
4461 vertex_shader = shader_group.pass_through_vertex_shader;
4462 is_program_defined = ((0 != fragment_shader) && (0 != vertex_shader));
4467 vertex_shader = shader_group.pass_through_vertex_shader;
4468 is_program_defined = ((0 != fragment_shader) && (0 != geometry_shader) && (0 != vertex_shader));
4474 vertex_shader = shader_group.pass_through_vertex_shader;
4476 (0 != tesselation_evaluation_shader) && (0 != vertex_shader));
4485 vertex_shader = shader_group.pass_through_vertex_shader;
4487 (0 != tesselation_evaluation_shader) && (0 != vertex_shader));
[all …]
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.hpp164 const std::string& vertex_shader);

12