Home
last modified time | relevance | path

Searched refs:constant_buffer (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_query.c358 struct pipe_constant_buffer constant_buffer = {}; in gfx10_sh_query_get_result_resource() local
394 constant_buffer.buffer_size = sizeof(consts); in gfx10_sh_query_get_result_resource()
395 constant_buffer.user_buffer = &consts; in gfx10_sh_query_get_result_resource()
440 sctx->b.set_constant_buffer(&sctx->b, PIPE_SHADER_COMPUTE, 0, &constant_buffer); in gfx10_sh_query_get_result_resource()
Dsi_query.c1449 struct pipe_constant_buffer constant_buffer = {}; in si_query_hw_get_result_resource() local
1483 constant_buffer.buffer_size = sizeof(consts); in si_query_hw_get_result_resource()
1484 constant_buffer.user_buffer = &consts; in si_query_hw_get_result_resource()
1544 sctx->b.set_constant_buffer(&sctx->b, PIPE_SHADER_COMPUTE, 0, &constant_buffer); in si_query_hw_get_result_resource()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py249 self._state.vs.constant_buffer = []
250 self._state.gs.constant_buffer = []
251 self._state.fs.constant_buffer = []
387 def set_constant_buffer(self, shader, index, constant_buffer): argument
388 self._update(self._get_stage_state(shader).constant_buffer, index, 1, [constant_buffer])
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c330 foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_VERTEX].enabled_mask) in etna_draw_vbo()
331 resource_read(ctx, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb[i].buffer); in etna_draw_vbo()
333 foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].enabled_mask) in etna_draw_vbo()
334 resource_read(ctx, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb[i].buffer); in etna_draw_vbo()
Detnaviv_emit.c646 etna_uniforms_write(ctx, ctx->shader.vs, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb); in etna_emit_state()
651 etna_uniforms_write(ctx, ctx->shader.fs, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in etna_emit_state()
665 etna_uniforms_write(ctx, ctx->shader.vs, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb); in etna_emit_state()
672 etna_uniforms_write(ctx, ctx->shader.fs, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in etna_emit_state()
Detnaviv_context.h174 struct etna_constbuf_state constant_buffer[PIPE_SHADER_TYPES]; member
Detnaviv_clear_blit.c52 ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in etna_blit_save_state()
Detnaviv_state.c88 struct etna_constbuf_state *so = &ctx->constant_buffer[shader]; in etna_set_constant_buffer()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c61 ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in panfrost_blitter_save()
Dpan_context.h147 struct panfrost_constant_buffer constant_buffer[PIPE_SHADER_TYPES]; member
Dpan_context.c910 struct panfrost_constant_buffer *pbuf = &ctx->constant_buffer[shader]; in panfrost_set_constant_buffer()
Dpan_cmdstream.c872 struct panfrost_constant_buffer *buf = &ctx->constant_buffer[stage]; in panfrost_emit_const_buf()
/external/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_context.c363 const struct pipe_constant_buffer *constant_buffer)
369 constant_buffer, sizeof(*constant_buffer));
370 pipe->set_constant_buffer(pipe, shader, index, constant_buffer);
Ddd_draw.c314 DUMP_I(constant_buffer, &dstate->constant_buffers[sh][i], i); in dd_dump_shader()
/external/mesa3d/src/gallium/frontends/clover/core/
Dmodule.hpp101 constant_buffer enumerator
Dkernel.cpp247 case module::argument::constant_buffer: { in bind()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_context.c746 const struct pipe_constant_buffer *constant_buffer) in trace_context_set_constant_buffer() argument
756 trace_dump_arg(constant_buffer, constant_buffer); in trace_context_set_constant_buffer()
758 pipe->set_constant_buffer(pipe, shader, index, constant_buffer); in trace_context_set_constant_buffer()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_query.c1618 struct pipe_constant_buffer constant_buffer = {}; in r600_query_hw_get_result_resource() local
1655 constant_buffer.buffer_size = sizeof(consts); in r600_query_hw_get_result_resource()
1656 constant_buffer.user_buffer = &consts; in r600_query_hw_get_result_resource()
1730 rctx->b.set_constant_buffer(&rctx->b, PIPE_SHADER_COMPUTE, 0, &constant_buffer); in r600_query_hw_get_result_resource()
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp313 module::argument::constant_buffer); in clover_lower_nir()