Searched refs:constbufs (Results 1 – 18 of 18) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_constants.c | 67 assert(index < ARRAY_SIZE(svga->curr.constbufs[shader])); in svga_set_constant_buffer() 72 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, NULL); in svga_set_constant_buffer() 73 svga->curr.constbufs[shader][index].buffer = buf; in svga_set_constant_buffer() 75 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf); in svga_set_constant_buffer() 81 svga->curr.constbufs[shader][index].buffer_size = in svga_set_constant_buffer() 84 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb->buffer_offset : 0; in svga_set_constant_buffer() 85 svga->curr.constbufs[shader][index].user_buffer = NULL; /* not used */ in svga_set_constant_buffer()
|
D | svga_swtnl_draw.c | 101 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[PIPE_SHADER_VERTEX]); ++i) { in svga_swtnl_draw_vbo() 102 if (svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer == NULL) { in svga_swtnl_draw_vbo() 107 svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer, in svga_swtnl_draw_vbo() 115 svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer->width0); in svga_swtnl_draw_vbo() 141 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[PIPE_SHADER_VERTEX]); ++i) { in svga_swtnl_draw_vbo() 142 if (svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer) { in svga_swtnl_draw_vbo()
|
D | svga_state_constants.c | 556 assert(svga->curr.constbufs[shader][1].buffer == NULL); in emit_consts_vgpu9() 558 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu9() 560 if (svga->curr.constbufs[shader][0].buffer) { in emit_consts_vgpu9() 563 pipe_buffer_map(&svga->pipe, svga->curr.constbufs[shader][0].buffer, in emit_consts_vgpu9() 910 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu10() 947 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu10() 983 unsigned offset = svga->curr.constbufs[shader][index].buffer_offset; in emit_constbuf_vgpu10() 984 unsigned size = svga->curr.constbufs[shader][index].buffer_size; in emit_constbuf_vgpu10() 986 svga_buffer(svga->curr.constbufs[shader][index].buffer); in emit_constbuf_vgpu10() 1454 svga_buffer(svga->curr.constbufs[shader][index].buffer); in update_rawbuf_mask()
|
D | svga_draw.c | 457 if (svga->rebind.flags.constbufs) { in svga_validate_constant_buffers() 479 buffer = svga_buffer(svga->curr.constbufs[shader][i].buffer); in svga_validate_constant_buffers() 490 if (svga->rebind.flags.constbufs && handle) { in svga_validate_constant_buffers() 506 buffer = svga_buffer(svga->curr.constbufs[shader][i].buffer); in svga_validate_constant_buffers() 512 if (svga->rebind.flags.constbufs && handle) { in svga_validate_constant_buffers() 522 svga->rebind.flags.constbufs = FALSE; in svga_validate_constant_buffers()
|
D | svga_context.c | 121 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[shader]); ++i) { in svga_destroy() 122 pipe_resource_reference(&svga->curr.constbufs[shader][i].buffer, NULL); in svga_destroy() 456 svga->rebind.flags.constbufs = TRUE; in svga_context_flush()
|
D | svga_context.h | 324 struct pipe_constant_buffer constbufs[PIPE_SHADER_TYPES][SVGA_MAX_CONST_BUFS]; member 668 unsigned constbufs:1; member
|
D | svga_pipe_clear.c | 62 &svga->curr.constbufs[PIPE_SHADER_FRAGMENT][0]); in begin_blit()
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.3.5.rst | 57 - nv50,nvc0: actually check constbufs for invalidation
|
D | 10.6.2.rst | 86 - mesa/prog: relative offsets into constbufs are not constant
|
D | 18.3.5.rst | 181 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
|
D | 19.0.0.rst | 1825 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
|
D | 21.0.0.rst | 1191 - gallium/tgsi_exec: Fix assertion failure about missing constbufs.
|
D | 19.1.0.rst | 3663 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
|
D | 20.2.0.rst | 1749 - freedreno: Upload gallium constbufs as needed when referenced as a UBO.
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_context.h | 404 struct pipe_constant_buffer constbufs[PIPE_MAX_CONSTANT_BUFFERS]; member
|
D | crocus_state.c | 935 … cmap = pipe_buffer_map_range(&ice->ctx, ice->state.shaders[stage].constbufs[block_index].buffer, in upload_shader_consts() 936 … ice->state.shaders[stage].constbufs[block_index].buffer_offset + start, len, in upload_shader_consts() 3491 struct pipe_constant_buffer *cbuf = &shs->constbufs[index]; in crocus_set_constant_buffer() 3493 util_copy_constant_buffer(&shs->constbufs[index], input, take_ownership); in crocus_set_constant_buffer() 3541 struct pipe_constant_buffer *cbuf = &shs->constbufs[sysval_cbuf_index]; in upload_sysvals() 5486 if (shs->constbufs[i].buffer) in crocus_populate_binding_table() 5487 surf_offsets[s] = emit_ubo_buffer(ice, batch, &shs->constbufs[i]); in crocus_populate_binding_table() 5676 struct pipe_constant_buffer *cbuf = &shs->constbufs[block_index]; in setup_constant_buffers() 8296 pipe_resource_reference(&shs->constbufs[i].buffer, NULL); 8385 struct pipe_constant_buffer *cbuf = &shs->constbufs[i];
|
D | crocus_blit.c | 56 …ragment_constant_buffer_slot(ice->blitter, &ice->state.shaders[MESA_SHADER_FRAGMENT].constbufs[0]); in crocus_blitter_begin()
|
D | crocus_program.c | 2045 struct pipe_constant_buffer *cbuf = &shs->constbufs[i]; in crocus_update_pull_constant_descriptors()
|