Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py267 self._state.vs.constant_buffer = []
268 self._state.tcs.constant_buffer = []
269 self._state.tes.constant_buffer = []
270 self._state.gs.constant_buffer = []
271 self._state.fs.constant_buffer = []
425 def set_constant_buffer(self, shader, index, take_ownership, constant_buffer): argument
426 self._update(self._get_stage_state(shader).constant_buffer, index, 1, [constant_buffer])
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_query.c310 struct pipe_constant_buffer constant_buffer = {}; in gfx10_sh_query_get_result_resource() local
346 constant_buffer.buffer_size = sizeof(consts); in gfx10_sh_query_get_result_resource()
347 constant_buffer.user_buffer = &consts; in gfx10_sh_query_get_result_resource()
390 sctx->b.set_constant_buffer(&sctx->b, PIPE_SHADER_COMPUTE, 0, false, &constant_buffer); in gfx10_sh_query_get_result_resource()
Dsi_query.c1537 struct pipe_constant_buffer constant_buffer = {}; in si_query_hw_get_result_resource() local
1571 constant_buffer.buffer_size = sizeof(consts); in si_query_hw_get_result_resource()
1572 constant_buffer.user_buffer = &consts; in si_query_hw_get_result_resource()
1630 sctx->b.set_constant_buffer(&sctx->b, PIPE_SHADER_COMPUTE, 0, false, &constant_buffer); in si_query_hw_get_result_resource()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c333 u_foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_VERTEX].enabled_mask) in etna_draw_vbo()
334 resource_read(ctx, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb[i].buffer); in etna_draw_vbo()
336 u_foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].enabled_mask) in etna_draw_vbo()
337 resource_read(ctx, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb[i].buffer); in etna_draw_vbo()
Detnaviv_emit.c644 etna_uniforms_write(ctx, ctx->shader.vs, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb); in etna_emit_state()
649 etna_uniforms_write(ctx, ctx->shader.fs, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in etna_emit_state()
663 etna_uniforms_write(ctx, ctx->shader.vs, ctx->constant_buffer[PIPE_SHADER_VERTEX].cb); in etna_emit_state()
670 etna_uniforms_write(ctx, ctx->shader.fs, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in etna_emit_state()
Detnaviv_context.h172 struct etna_constbuf_state constant_buffer[PIPE_SHADER_TYPES]; member
Detnaviv_clear_blit.c53 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()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c60 ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb); in panfrost_blitter_save()
Dpan_context.h186 struct panfrost_constant_buffer constant_buffer[PIPE_SHADER_TYPES]; member
Dpan_context.c621 struct panfrost_constant_buffer *pbuf = &ctx->constant_buffer[shader]; in panfrost_set_constant_buffer()
Dpan_cmdstream.c1469 struct panfrost_constant_buffer *buf = &ctx->constant_buffer[stage]; in panfrost_emit_const_buf()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_context.c364 const struct pipe_constant_buffer *constant_buffer)
370 constant_buffer, sizeof(*constant_buffer));
371 pipe->set_constant_buffer(pipe, shader, index, take_ownership, constant_buffer);
Ddd_draw.c314 DUMP_I(constant_buffer, &dstate->constant_buffers[sh][i], i); in dd_dump_shader()
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dbinary.hpp104 constant_buffer, enumerator
Dkernel.cpp254 case binary::argument::constant_buffer: { in bind()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx10.cpp174 VERTEX_CONSTANT_BUFFER* constant_buffer = (VERTEX_CONSTANT_BUFFER*)mapped_resource; in ImGui_ImplDX10_RenderDrawData() local
186 memcpy(&constant_buffer->mvp, mvp, sizeof(mvp)); in ImGui_ImplDX10_RenderDrawData()
Dimgui_impl_dx11.cpp180 VERTEX_CONSTANT_BUFFER* constant_buffer = (VERTEX_CONSTANT_BUFFER*)mapped_resource.pData; in ImGui_ImplDX11_RenderDrawData() local
192 memcpy(&constant_buffer->mvp, mvp, sizeof(mvp)); in ImGui_ImplDX11_RenderDrawData()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_query.c1615 struct pipe_constant_buffer constant_buffer = {}; in r600_query_hw_get_result_resource() local
1652 constant_buffer.buffer_size = sizeof(consts); in r600_query_hw_get_result_resource()
1653 constant_buffer.user_buffer = &consts; in r600_query_hw_get_result_resource()
1727 rctx->b.set_constant_buffer(&rctx->b, PIPE_SHADER_COMPUTE, 0, false, &constant_buffer); in r600_query_hw_get_result_resource()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_context.c930 const struct pipe_constant_buffer *constant_buffer) in trace_context_set_constant_buffer() argument
941 trace_dump_arg(constant_buffer, constant_buffer); in trace_context_set_constant_buffer()
943 pipe->set_constant_buffer(pipe, shader, index, take_ownership, constant_buffer); in trace_context_set_constant_buffer()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp359 binary::argument::constant_buffer); in clover_lower_nir()