Home
last modified time | relevance | path

Searched refs:shader_type (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_constbuf.c57 unsigned shader_type) in st_upload_constants() argument
59 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants()
60 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants()
61 shader_type == PIPE_SHADER_GEOMETRY); in st_upload_constants()
94 __FUNCTION__, shader_type, params->NumParameters, in st_upload_constants()
99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); in st_upload_constants()
102 st->state.constants[shader_type].ptr = params->ParameterValues; in st_upload_constants()
103 st->state.constants[shader_type].size = paramBytes; in st_upload_constants()
105 else if (st->state.constants[shader_type].ptr) { in st_upload_constants()
106 st->state.constants[shader_type].ptr = NULL; in st_upload_constants()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_constbuf.c57 unsigned shader_type) in st_upload_constants() argument
59 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants()
60 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants()
61 shader_type == PIPE_SHADER_GEOMETRY); in st_upload_constants()
94 __FUNCTION__, shader_type, params->NumParameters, in st_upload_constants()
99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); in st_upload_constants()
102 st->state.constants[shader_type].ptr = params->ParameterValues; in st_upload_constants()
103 st->state.constants[shader_type].size = paramBytes; in st_upload_constants()
105 else if (st->state.constants[shader_type].ptr) { in st_upload_constants()
106 st->state.constants[shader_type].ptr = NULL; in st_upload_constants()
[all …]
/external/chromium_org/gpu/command_buffer/service/
Dshader_translator_cache.h35 sh::GLenum shader_type,
48 sh::GLenum shader_type; member
56 sh::GLenum shader_type, in ShaderTranslatorInitParams()
62 : shader_type(shader_type), in ShaderTranslatorInitParams()
Dshader_translator_cache.cc31 sh::GLenum shader_type, in GetTranslator() argument
37 ShaderTranslatorInitParams params(shader_type, in GetTranslator()
48 if (translator->Init(shader_type, shader_spec, resources, in GetTranslator()
Dshader_manager.h41 GLenum shader_type() const { in shader_type() function
130 Shader(GLuint service_id, GLenum shader_type);
184 GLenum shader_type);
Dshader_translator.cc129 GLenum shader_type, in Init() argument
136 DCHECK(shader_type == GL_FRAGMENT_SHADER || shader_type == GL_VERTEX_SHADER); in Init()
148 shader_type, shader_spec, shader_output, resources); in Init()
Dshader_manager.cc15 Shader::Shader(GLuint service_id, GLenum shader_type) in Shader() argument
18 shader_type_(shader_type), in Shader()
157 GLenum shader_type) { in CreateShader() argument
161 new Shader(service_id, shader_type)))); in CreateShader()
Dshader_translator.h69 sh::GLenum shader_type,
116 sh::GLenum shader_type,
Dprogram_manager.cc58 int ShaderTypeToIndex(GLenum shader_type) { in ShaderTypeToIndex() argument
59 switch (shader_type) { in ShaderTypeToIndex()
951 int index = ShaderTypeToIndex(shader->shader_type()); in AttachShader()
965 if (attached_shaders_[ShaderTypeToIndex(shader->shader_type())].get() != in DetachShader()
969 attached_shaders_[ShaderTypeToIndex(shader->shader_type())] = NULL; in DetachShader()
1045 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in DetectVaryingsMismatch()
1047 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER); in DetectVaryingsMismatch()
1082 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in DetectGlobalNameConflicts()
1084 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER); in DetectGlobalNameConflicts()
1106 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in CheckVaryingsPacking()
[all …]
Dgles2_cmd_validation_autogen.h53 ValueValidator<GLenum> shader_type; variable
Dmocks.h94 sh::GLenum shader_type,
/external/mesa3d/src/glsl/
Dtest_optpass.cpp169 int shader_type = GL_VERTEX_SHADER; in test_optpass() local
176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass()
177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass()
205 shader->Type = shader_type; in test_optpass()
/external/chromium_org/third_party/mesa/src/src/glsl/
Dtest_optpass.cpp169 int shader_type = GL_VERTEX_SHADER; in test_optpass() local
176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass()
177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass()
205 shader->Type = shader_type; in test_optpass()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_context.h136 uint shader_type,
218 unsigned shader_type,
Ddraw_context.c361 unsigned shader_type, in draw_set_mapped_constant_buffer() argument
366 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer()
367 shader_type == PIPE_SHADER_GEOMETRY); in draw_set_mapped_constant_buffer()
370 switch (shader_type) { in draw_set_mapped_constant_buffer()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.h136 uint shader_type,
218 unsigned shader_type,
Ddraw_context.c361 unsigned shader_type, in draw_set_mapped_constant_buffer() argument
366 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer()
367 shader_type == PIPE_SHADER_GEOMETRY); in draw_set_mapped_constant_buffer()
370 switch (shader_type) { in draw_set_mapped_constant_buffer()
/external/chromium_org/third_party/webrtc/modules/video_render/ios/
Dopen_gles20.h43 GLuint LoadShader(GLenum shader_type, const char* shader_source);
Dopen_gles20.mm166 GLuint OpenGles20::LoadShader(GLenum shader_type, const char* shader_source) {
167 GLuint shader = glCreateShader(shader_type);
185 shader_type,
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_renderer.h51 int shader_type,
Dxorg_renderer.c415 int shader_type, in renderer_set_constants() argument
420 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants()
433 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
Dxorg_renderer.h51 int shader_type,
Dxorg_renderer.c415 int shader_type, in renderer_set_constants() argument
420 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants()
433 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
Dxa_renderer.c46 int shader_type, const float *params, int param_bytes);
374 int shader_type, const float *params, int param_bytes) in renderer_set_constants() argument
377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants()
388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c46 int shader_type, const float *params, int param_bytes);
374 int shader_type, const float *params, int param_bytes) in renderer_set_constants() argument
377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants()
388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()

12