Searched refs:constbufs (Results 1 – 12 of 12) sorted by relevance
65 assert(index < ARRAY_SIZE(svga->curr.constbufs[shader])); in svga_set_constant_buffer()69 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf); in svga_set_constant_buffer()74 svga->curr.constbufs[shader][index].buffer_size = in svga_set_constant_buffer()77 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb->buffer_offset : 0; in svga_set_constant_buffer()78 svga->curr.constbufs[shader][index].user_buffer = NULL; /* not used */ in svga_set_constant_buffer()
98 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[PIPE_SHADER_VERTEX]); ++i) { in svga_swtnl_draw_vbo()99 if (svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer == NULL) { in svga_swtnl_draw_vbo()104 svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer, in svga_swtnl_draw_vbo()112 svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer->width0); in svga_swtnl_draw_vbo()137 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[PIPE_SHADER_VERTEX]); ++i) { in svga_swtnl_draw_vbo()138 if (svga->curr.constbufs[PIPE_SHADER_VERTEX][i].buffer) { in svga_swtnl_draw_vbo()
510 assert(svga->curr.constbufs[shader][1].buffer == NULL); in emit_consts_vgpu9()512 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu9()514 if (svga->curr.constbufs[shader][0].buffer) { in emit_consts_vgpu9()517 pipe_buffer_map(&svga->pipe, svga->curr.constbufs[shader][0].buffer, in emit_consts_vgpu9()746 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu10()783 cbuf = &svga->curr.constbufs[shader][0]; in emit_consts_vgpu10()819 unsigned offset = svga->curr.constbufs[shader][index].buffer_offset; in emit_constbuf_vgpu10()820 unsigned size = svga->curr.constbufs[shader][index].buffer_size; in emit_constbuf_vgpu10()822 svga_buffer(svga->curr.constbufs[shader][index].buffer); in emit_constbuf_vgpu10()
124 for (i = 0; i < ARRAY_SIZE(svga->curr.constbufs[shader]); ++i) { in svga_destroy()125 pipe_resource_reference(&svga->curr.constbufs[shader][i].buffer, NULL); in svga_destroy()414 svga->rebind.flags.constbufs = TRUE; in svga_context_flush()
424 if (svga->rebind.flags.constbufs) { in validate_constant_buffers()446 buffer = svga_buffer(svga->curr.constbufs[shader][i].buffer); in validate_constant_buffers()457 if (svga->rebind.flags.constbufs && handle) { in validate_constant_buffers()467 svga->rebind.flags.constbufs = FALSE; in validate_constant_buffers()
293 struct pipe_constant_buffer constbufs[PIPE_SHADER_TYPES][SVGA_MAX_CONST_BUFS]; member552 unsigned constbufs:1; member
57 - nv50,nvc0: actually check constbufs for invalidation
86 - mesa/prog: relative offsets into constbufs are not constant
181 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
1825 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
3663 - tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw
1749 - freedreno: Upload gallium constbufs as needed when referenced as a UBO.