Home
last modified time | relevance | path

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

12345

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_constbuf.c59 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); in st_upload_constants() local
61 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants()
62 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants()
63 shader_type == PIPE_SHADER_GEOMETRY || in st_upload_constants()
64 shader_type == PIPE_SHADER_TESS_CTRL || in st_upload_constants()
65 shader_type == PIPE_SHADER_TESS_EVAL || in st_upload_constants()
66 shader_type == PIPE_SHADER_COMPUTE); in st_upload_constants()
69 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) { in st_upload_constants()
111 __func__, shader_type, params->NumParameters, in st_upload_constants()
116 cso_set_constant_buffer(st->cso_context, shader_type, 0, &cb); in st_upload_constants()
[all …]
Dst_atom_storagebuf.c45 enum pipe_shader_type shader_type) in st_bind_ssbos() argument
84 st->pipe->set_shader_buffers(st->pipe, shader_type, buffer_base, in st_bind_ssbos()
89 st->pipe, shader_type, in st_bind_ssbos()
Dst_atom_image.c141 enum pipe_shader_type shader_type) in st_bind_images() argument
157 cso_set_shader_images(st->cso_context, shader_type, 0, in st_bind_images()
162 st->cso_context, shader_type, prog->info.num_images, in st_bind_images()
Dst_atom_atomicbuf.c45 enum pipe_shader_type shader_type) in st_bind_atomics() argument
73 st->pipe->set_shader_buffers(st->pipe, shader_type, in st_bind_atomics()
/external/deqp/external/openglcts/modules/gl/
Dgl3cCommonBugsTests.cpp4884 std::string ReservedNamesTest::getShaderBody(_shader_type shader_type, _language_feature language_f… in getShaderBody() argument
4922 if (shader_type == SHADER_TYPE_COMPUTE) in getShaderBody()
4926 else if (shader_type == SHADER_TYPE_TESS_CONTROL) in getShaderBody()
4930 else if (shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody()
4976 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody()
4977 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody()
4994 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody()
4995 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody()
5012 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody()
5013 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody()
[all …]
Dgl3cCommonBugsTests.hpp262 std::string getShaderBody(_shader_type shader_type, _language_feature language_feature,
264 std::string getShaderTypeName(_shader_type shader_type) const;
265 std::vector<_language_feature> getSupportedLanguageFeatures(_shader_type shader_type) const;
267 bool isStructAllowed(_shader_type shader_type, _language_feature language_feature) const;
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp477 void start_shader(gl_shader_stage shader_type) in start_shader() argument
479 assert(shader_type < MESA_SHADER_STAGES); in start_shader()
480 this->shader_type = shader_type; in start_shader()
577 gl_shader_stage shader_type; member in parcel_out_uniform_storage
604 uniform->opaque[shader_type].index = index; in set_opaque_indices()
605 index = inner_array_size + uniform->opaque[shader_type].index; in set_opaque_indices()
623 uniform->opaque[shader_type].index = next_index; in set_opaque_indices()
628 index = uniform->opaque[shader_type].index + inner_array_size; in set_opaque_indices()
636 uniform->opaque[shader_type].index = next_index; in set_opaque_indices()
646 uniform->opaque[shader_type].active = true; in handle_samplers()
[all …]
Dtest_optpass.cpp168 int shader_type = GL_VERTEX_SHADER; in test_optpass() local
175 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass()
176 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass()
204 shader->Type = shader_type; in test_optpass()
205 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type); in test_optpass()
244 &ctx->Const.ShaderCompilerOptions[_mesa_shader_enum_to_shader_stage(shader_type)]; in test_optpass()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp77 enum pipe_shader_type shader_type; member
119 switch (dynamic->shader_type) { in swr_texture_member()
216 switch (dynamic->shader_type) { in SWR_TEXTURE_MEMBER()
328 enum pipe_shader_type shader_type) in swr_sampler_soa_create() argument
355 sampler->dynamic_state.shader_type = shader_type; in swr_sampler_soa_create()
Dswr_tex_sample.h48 enum pipe_shader_type shader_type);
/external/mesa3d/src/compiler/glsl/tests/
Dbuiltin_variable_test.cpp34 common_builtin(GLenum shader_type) in common_builtin() argument
35 : shader_type(shader_type) in common_builtin()
49 GLenum shader_type; member in common_builtin
66 this->shader->Type = this->shader_type; in SetUp()
67 this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type); in SetUp()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.h155 enum pipe_shader_type shader_type,
160 enum pipe_shader_type shader_type,
165 enum pipe_shader_type shader_type,
252 enum pipe_shader_type shader_type,
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c103 enum pipe_shader_type shader_type) in virgl_attach_res_sampler_views() argument
106 struct virgl_textures_info *tinfo = &vctx->samplers[shader_type]; in virgl_attach_res_sampler_views()
158 enum pipe_shader_type shader_type) in virgl_attach_res_uniform_buffers() argument
164 res = virgl_resource(vctx->ubos[shader_type][i]); in virgl_attach_res_uniform_buffers()
177 enum pipe_shader_type shader_type; in virgl_reemit_res() local
183 for (shader_type = 0; shader_type < PIPE_SHADER_TYPES; shader_type++) { in virgl_reemit_res()
184 virgl_attach_res_sampler_views(vctx, shader_type); in virgl_reemit_res()
185 virgl_attach_res_uniform_buffers(vctx, shader_type); in virgl_reemit_res()
685 enum pipe_shader_type shader_type, in virgl_set_sampler_views() argument
693 struct virgl_textures_info *tinfo = &vctx->samplers[shader_type]; in virgl_set_sampler_views()
[all …]
/external/deqp/external/openglcts/modules/glesext/
DesextcTestCaseBase.cpp357 std::string getShaderTypeName(glw::GLenum shader_type) in getShaderTypeName() argument
359 switch (shader_type) in getShaderTypeName()
432 glw::GLint shader_type = 0; in buildProgramVA() local
435 gl.getShaderiv(sh_id, GL_SHADER_TYPE, &shader_type); in buildProgramVA()
436 std::string shader_type_str = getShaderTypeName(shader_type); in buildProgramVA()
486 glw::GLint shader_type = 0; in buildProgramVA() local
487 gl.getShaderiv(*it, GL_SHADER_TYPE, &shader_type); in buildProgramVA()
488 std::string shader_type_str = getShaderTypeName(shader_type); in buildProgramVA()
/external/mesa3d/src/mesa/main/
Darbprogram.c373 const char *shader_type = in _mesa_ProgramStringARB() local
377 shader_type, prog->Id); in _mesa_ProgramStringARB()
382 shader_type, prog->Id); in _mesa_ProgramStringARB()
385 shader_type, prog->Id); in _mesa_ProgramStringARB()
396 const char *shader_type = in _mesa_ProgramStringARB() local
400 capture_path, shader_type[0], prog->Id); in _mesa_ProgramStringARB()
406 shader_type, shader_type, (const char *) string); in _mesa_ProgramStringARB()
/external/vulkan-validation-layers/tests/
Dvktestframework.h70 …bool GLSLtoSPV(const VkShaderStageFlagBits shader_type, const char *pshader, std::vector<unsigned …
88 EShLanguage FindLanguage(const VkShaderStageFlagBits shader_type);
Dvktestframeworkandroid.cpp80 bool VkTestFramework::GLSLtoSPV(const VkShaderStageFlagBits shader_type, const char *pshader, std::… in GLSLtoSPV() argument
90 …compiler.CompileGlslToSpv(pshader, strlen(pshader), MapShadercType(shader_type), "shader", options… in GLSLtoSPV()
/external/virglrenderer/src/
Dvrend_decode.c314 uint32_t shader_type; in vrend_decode_set_sampler_views() local
320 shader_type = get_buf_entry(ctx, VIRGL_SET_SAMPLER_VIEWS_SHADER_TYPE); in vrend_decode_set_sampler_views()
323 if (shader_type >= PIPE_SHADER_TYPES) in vrend_decode_set_sampler_views()
332 vrend_set_single_sampler_view(ctx->grctx, shader_type, i + start_slot, handle); in vrend_decode_set_sampler_views()
334 vrend_set_num_sampler_views(ctx->grctx, shader_type, start_slot, num_samps); in vrend_decode_set_sampler_views()
987 uint32_t shader_type = get_buf_entry(ctx, VIRGL_BIND_SAMPLER_STATES_SHADER_TYPE); in vrend_decode_bind_sampler_states() local
991 if (shader_type >= PIPE_SHADER_TYPES) in vrend_decode_bind_sampler_states()
994 vrend_bind_sampler_states(ctx->grctx, shader_type, start_slot, num_states, in vrend_decode_bind_sampler_states()
1109 uint32_t shader_type, start_slot; in vrend_decode_set_shader_buffers() local
1115 shader_type = get_buf_entry(ctx, VIRGL_SET_SHADER_BUFFER_SHADER_TYPE); in vrend_decode_set_shader_buffers()
[all …]
Dvrend_renderer.h211 uint32_t shader_type,
215 uint32_t shader_type,
227 uint32_t shader_type,
236 uint32_t shader_type,
242 uint32_t shader_type,
Dvrend_renderer.c580 uint32_t shader_type,
620 static inline const char *pipe_shader_to_prefix(int shader_type) in pipe_shader_to_prefix() argument
622 switch (shader_type) { in pipe_shader_to_prefix()
2456 uint32_t shader_type, in vrend_set_single_sampler_view() argument
2466 ctx->sub->views[shader_type].views[index] = NULL; in vrend_set_single_sampler_view()
2470 if (ctx->sub->views[shader_type].views[index] == view) { in vrend_set_single_sampler_view()
2553 vrend_sampler_view_reference(&ctx->sub->views[shader_type].views[index], view); in vrend_set_single_sampler_view()
2557 uint32_t shader_type, in vrend_set_num_sampler_views() argument
2564 for (i = last_slot; i < ctx->sub->views[shader_type].num_views; i++) in vrend_set_num_sampler_views()
2565 vrend_sampler_view_reference(&ctx->sub->views[shader_type].views[i], NULL); in vrend_set_num_sampler_views()
[all …]
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp356 glw::GLenum shader_type = shader_types[n_shader_type]; in initTest() local
357 glw::GLenum shader_type_es = (glw::GLenum)shader_type; in initTest()
361 if (shader_type == SHADER_TYPE_TESSELLATION_EVALUATION) in initTest()
365 …else if ((shader_type != SHADER_TYPE_FRAGMENT) && (shader_type != SHADER_TYPE_TESSELLATION_CONTROL… in initTest()
366 (shader_type != SHADER_TYPE_VERTEX)) in initTest()
386 if (shader_type == SHADER_TYPE_FRAGMENT) in initTest()
390 else if (shader_type == SHADER_TYPE_TESSELLATION_CONTROL) in initTest()
394 else if (shader_type == SHADER_TYPE_TESSELLATION_EVALUATION) in initTest()
398 else if (shader_type == SHADER_TYPE_VERTEX) in initTest()
420 if (shader_type == SHADER_TYPE_FRAGMENT) in initTest()
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c39 enum blorp_shader_type shader_type; /* Must be BLORP_SHADER_TYPE_CLEAR */ member
50 .shader_type = BLORP_SHADER_TYPE_CLEAR, in blorp_params_get_clear_kernel()
93 enum blorp_shader_type shader_type; member
109 .shader_type = BLORP_SHADER_TYPE_LAYER_OFFSET_VS, in blorp_params_get_layer_offset_vs()
785 enum blorp_shader_type shader_type; member
794 .shader_type = BLORP_SHADER_TYPE_MCS_PARTIAL_RESOLVE, in blorp_params_get_mcs_partial_resolve_kernel()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc41 static GLuint LoadShader(GLenum shader_type, const char *shader_source) { in LoadShader() argument
42 GLuint shader = glCreateShader(shader_type); in LoadShader()
66 LOGE("hello_ar::util::Could not compile shader %d:\n%s\n", shader_type, in LoadShader()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc41 static GLuint LoadShader(GLenum shader_type, const char *shader_source) { in LoadShader() argument
42 GLuint shader = glCreateShader(shader_type); in LoadShader()
66 LOGE("hello_ar::util::Could not compile shader %d:\n%s\n", shader_type, in LoadShader()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp205 glw::GLboolean TextureBufferPrecision::verifyShaderCompilationStatus(glw::GLenum shader_type, in verifyShaderCompilationStatus() argument
218 m_sh_id = gl.createShader(shader_type); in verifyShaderCompilationStatus()

12345