Searched defs:shader_type (Results 1 - 25 of 39) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/tests/
H A Dbuiltin_variable_test.cpp34 common_builtin(GLenum shader_type) argument
35 : shader_type(shader_type)
49 GLenum shader_type; member in class:common_builtin
66 this->shader->Type = this->shader_type;
67 this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_atomicbuf.c46 enum pipe_shader_type shader_type)
67 st->pipe->set_shader_buffers(st->pipe, shader_type,
44 st_bind_atomics(struct st_context *st, struct gl_shader_program *prog, enum pipe_shader_type shader_type) argument
H A Dst_atom_image.c49 enum pipe_shader_type shader_type)
121 cso_set_shader_images(st->cso_context, shader_type, 0,
126 st->cso_context, shader_type, prog->info.num_images,
48 st_bind_images(struct st_context *st, struct gl_program *prog, enum pipe_shader_type shader_type) argument
H A Dst_atom_storagebuf.c45 enum pipe_shader_type shader_type)
82 st->pipe->set_shader_buffers(st->pipe, shader_type, c->MaxAtomicBuffers,
87 st->pipe, shader_type,
44 st_bind_ssbos(struct st_context *st, struct gl_program *prog, enum pipe_shader_type shader_type) argument
H A Dst_atom_constbuf.c54 * \param shader_type either PIPE_SHADER_VERTEX or PIPE_SHADER_FRAGMENT
60 enum pipe_shader_type shader_type = st_shader_stage_to_ptarget(stage); local
62 assert(shader_type == PIPE_SHADER_VERTEX ||
63 shader_type == PIPE_SHADER_FRAGMENT ||
64 shader_type == PIPE_SHADER_GEOMETRY ||
65 shader_type == PIPE_SHADER_TESS_CTRL ||
66 shader_type == PIPE_SHADER_TESS_EVAL ||
67 shader_type == PIPE_SHADER_COMPUTE);
70 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) {
119 __func__, shader_type, param
241 st_bind_ubos(struct st_context *st, struct gl_program *prog, unsigned shader_type) argument
[all...]
/external/vulkan-validation-layers/tests/
H A Dvktestframeworkandroid.cpp80 bool VkTestFramework::GLSLtoSPV(const VkShaderStageFlagBits shader_type, const char *pshader, std::vector<unsigned int> &spirv) { argument
84 compiler.CompileGlslToSpv(pshader, strlen(pshader), MapShadercType(shader_type), "shader");
H A Dvktestframework.cpp677 EShLanguage VkTestFramework::FindLanguage(const VkShaderStageFlagBits shader_type) { argument
678 switch (shader_type) {
706 bool VkTestFramework::GLSLtoSPV(const VkShaderStageFlagBits shader_type, const char *pshader, std::vector<unsigned int> &spirv) { argument
720 EShLanguage stage = FindLanguage(shader_type);
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferPrecision.cpp199 * @param shader_type GL shader type.
205 glw::GLboolean TextureBufferPrecision::verifyShaderCompilationStatus(glw::GLenum shader_type, argument
218 m_sh_id = gl.createShader(shader_type);
/external/mesa3d/src/compiler/glsl/
H A Dtest_optpass.cpp170 int shader_type = GL_VERTEX_SHADER; local
177 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
178 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
206 shader->Type = shader_type;
207 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type);
246 &ctx->Const.ShaderCompilerOptions[_mesa_shader_enum_to_shader_stage(shader_type)];
H A Dlink_uniforms.cpp436 void start_shader(gl_shader_stage shader_type) argument
438 assert(shader_type < MESA_SHADER_STAGES);
439 this->shader_type = shader_type;
519 gl_shader_stage shader_type;
526 uniform->opaque[shader_type].active = true;
546 uniform->opaque[shader_type].index = index;
547 index = inner_array_size + uniform->opaque[shader_type].index;
565 uniform->opaque[shader_type].index = this->next_sampler;
571 index = uniform->opaque[shader_type]
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_sampler.c244 unsigned shader_type)
331 shader_type,
240 prepare_shader_sampling( struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views, unsigned shader_type) argument
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp77 unsigned shader_type; member in struct:swr_sampler_dynamic_state
119 switch (dynamic->shader_type) {
213 switch (dynamic->shader_type) {
322 unsigned shader_type)
349 sampler->dynamic_state.shader_type = shader_type;
321 swr_sampler_soa_create(const struct swr_sampler_static_state *static_state, unsigned shader_type) argument
H A Dswr_shader.cpp67 unsigned shader_type,
76 ctx->samplers[shader_type][i]);
91 ctx->sampler_views[shader_type][i];
109 ctx->sampler_views[shader_type][i];
65 swr_generate_sampler_key(const struct lp_tgsi_info &info, struct swr_context *ctx, unsigned shader_type, struct swr_jit_sampler_key &key) argument
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderXFB.cpp187 glw::GLuint TessellationShaderXFB::createSeparableProgram(glw::GLenum shader_type, unsigned int n_strings, argument
196 so_id = gl.createShader(shader_type);
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_render_dynamic.c134 int shader_type,
138 (const struct ilo_view_cso **) vec->view[shader_type].states;
148 switch (shader_type) {
189 assert(sampler_count <= ARRAY_SIZE(vec->view[shader_type].states) &&
190 sampler_count <= ARRAY_SIZE(vec->sampler[shader_type].cso));
194 const struct ilo_sampler_cso *cso = vec->sampler[shader_type].cso[i];
202 const struct ilo_sampler_cso *cso = vec->sampler[shader_type].cso[i];
474 const unsigned shader_type = PIPE_SHADER_COMPUTE; local
477 (const struct ilo_view_cso **) vec->view[shader_type].states;
485 assert(sampler_count <= ARRAY_SIZE(vec->view[shader_type]
132 gen6_emit_draw_dynamic_samplers(struct ilo_render *r, const struct ilo_state_vector *vec, int shader_type, struct ilo_render_draw_session *session) argument
[all...]
H A Dilo_render_surface.c182 int shader_type,
185 const struct ilo_view_state *view = &vec->view[shader_type];
192 switch (shader_type) {
238 int shader_type,
241 const struct ilo_cbuf_state *cbuf = &vec->cbuf[shader_type];
248 switch (shader_type) {
292 int shader_type,
300 switch (shader_type) {
407 int shader_type; local
421 for (shader_type
180 gen6_emit_draw_surface_view(struct ilo_render *r, const struct ilo_state_vector *vec, int shader_type, struct ilo_render_draw_session *session) argument
236 gen6_emit_draw_surface_const(struct ilo_render *r, const struct ilo_state_vector *vec, int shader_type, struct ilo_render_draw_session *session) argument
290 gen6_emit_draw_surface_binding_tables(struct ilo_render *r, const struct ilo_state_vector *vec, int shader_type, struct ilo_render_draw_session *session) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c170 unsigned shader_type,
263 shader_type,
166 prepare_shader_sampling( struct softpipe_context *sp, unsigned num, struct pipe_sampler_view **views, unsigned shader_type, struct pipe_resource *mapped_tex[PIPE_MAX_SHADER_SAMPLER_VIEWS]) argument
/external/mesa3d/src/mesa/main/
H A Darbprogram.c358 const char *shader_type = local
362 shader_type, prog->Id);
367 shader_type, prog->Id);
370 shader_type, prog->Id);
381 const char *shader_type = local
385 capture_path, shader_type[0], prog->Id);
391 shader_type, shader_type, (const char *) string);
/external/mesa3d/src/intel/blorp/
H A Dblorp_clear.c38 enum blorp_shader_type shader_type; /* Must be BLORP_SHADER_TYPE_CLEAR */ member in struct:brw_blorp_const_color_prog_key
49 .shader_type = BLORP_SHADER_TYPE_CLEAR,
91 enum blorp_shader_type shader_type; member in struct:layer_offset_vs_key
107 .shader_type = BLORP_SHADER_TYPE_LAYER_OFFSET_VS,
H A Dblorp_priv.h208 enum blorp_shader_type shader_type; /* Must be BLORP_SHADER_TYPE_BLIT */ member in struct:brw_blorp_blit_prog_key
/external/deqp/external/openglcts/modules/gl/
H A Dgl3cClipDistance.cpp1263 * @param [in] shader_type Shader type.
1269 const glw::GLenum shader_type, const glw::GLchar* const* shader_code)
1278 shader.shader_id = m_gl.createShader(shader_type);
1268 compileShader( const glw::GLenum shader_type, const glw::GLchar* const* shader_code) argument
/external/deqp/external/openglcts/modules/glesext/
H A DesextcTestCaseBase.cpp357 std::string getShaderTypeName(glw::GLenum shader_type) argument
359 switch (shader_type)
432 glw::GLint shader_type = 0; local
435 gl.getShaderiv(sh_id, GL_SHADER_TYPE, &shader_type);
436 std::string shader_type_str = getShaderTypeName(shader_type);
486 glw::GLint shader_type = 0; local
487 gl.getShaderiv(*it, GL_SHADER_TYPE, &shader_type);
488 std::string shader_type_str = getShaderTypeName(shader_type);
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderAPI.cpp462 glw::GLint shader_type = GL_NONE; local
464 gl.getShaderiv(m_gs_id, GL_SHADER_TYPE, &shader_type);
467 if ((glw::GLenum)shader_type != m_glExtTokens.GEOMETRY_SHADER)
469 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid shader type [" << shader_type
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_context.c443 unsigned shader_type,
448 debug_assert(shader_type == PIPE_SHADER_VERTEX ||
449 shader_type == PIPE_SHADER_GEOMETRY);
454 switch (shader_type) {
442 draw_set_mapped_constant_buffer(struct draw_context *draw, unsigned shader_type, unsigned slot, const void *buffer, unsigned size ) argument
/external/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_context.c102 unsigned shader_type)
105 struct virgl_textures_info *tinfo = &vctx->samplers[shader_type];
156 unsigned shader_type)
162 res = virgl_resource(vctx->ubos[shader_type][i]);
175 unsigned shader_type; local
181 for (shader_type = 0; shader_type < PIPE_SHADER_TYPES; shader_type++) {
182 virgl_attach_res_sampler_views(vctx, shader_type);
183 virgl_attach_res_uniform_buffers(vctx, shader_type);
101 virgl_attach_res_sampler_views(struct virgl_context *vctx, unsigned shader_type) argument
155 virgl_attach_res_uniform_buffers(struct virgl_context *vctx, unsigned shader_type) argument
692 virgl_set_sampler_views(struct pipe_context *ctx, enum pipe_shader_type shader_type, unsigned start_slot, unsigned num_views, struct pipe_sampler_view **views) argument
[all...]

Completed in 437 milliseconds

12