Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_render_pass.c42 pstate->num_attachments = state->num_cbufs; in create_render_pass()
43 for (int i = 0; i < state->num_cbufs; i++) { in create_render_pass()
69 int num_attachments = state->num_cbufs; in create_render_pass()
71 struct zink_rt_attrib *rt = state->rts + state->num_cbufs; in create_render_pass()
104 subpass.colorAttachmentCount = state->num_cbufs; in create_render_pass()
138 const unsigned cresolve_offset = state->num_cbufs + state->have_zsbuf; in create_render_pass2()
141 pstate->num_attachments = state->num_cbufs; in create_render_pass2()
144 for (int i = 0; i < state->num_cbufs; i++) { in create_render_pass2()
191 int num_attachments = state->num_cbufs; in create_render_pass2()
193 struct zink_rt_attrib *rt = state->rts + state->num_cbufs; in create_render_pass2()
[all …]
Dzink_render_pass.h50 uint8_t num_cbufs : 5; /* PIPE_MAX_COLOR_BUFS = 8 */ member
Dzink_framebuffer.c72 …assert(rp->state.num_cbufs + rp->state.have_zsbuf + rp->state.num_cresolves + rp->state.num_zsreso… in zink_init_framebuffer_imageless()
219 …assert(rp->state.num_cbufs + rp->state.have_zsbuf + rp->state.num_cresolves + rp->state.num_zsreso… in zink_init_framebuffer()
Dzink_context.c1935 state.num_cbufs = fb->nr_cbufs; in get_render_pass()
1936 assert(!state.num_cresolves || state.num_cbufs == state.num_cresolves); in get_render_pass()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c208 unsigned num_cbufs = ish->nir->info.num_ubos; in crocus_disk_cache_retrieve() local
210 if (num_cbufs || ish->nir->num_uniforms) in crocus_disk_cache_retrieve()
211 num_cbufs++; in crocus_disk_cache_retrieve()
214 num_cbufs++; in crocus_disk_cache_retrieve()
223 num_system_values, num_cbufs, &bt); in crocus_disk_cache_retrieve()
Dcrocus_program.c623 unsigned num_cbufs = nir->info.num_ubos; in crocus_setup_uniforms() local
624 if (num_cbufs || nir->num_uniforms) in crocus_setup_uniforms()
625 num_cbufs++; in crocus_setup_uniforms()
629 unsigned sysval_cbuf_index = num_cbufs; in crocus_setup_uniforms()
630 num_cbufs++; in crocus_setup_uniforms()
664 assert(num_cbufs < PIPE_MAX_CONSTANT_BUFFERS); in crocus_setup_uniforms()
681 const_ubo_index->value[0].u32 = num_cbufs; in crocus_setup_uniforms()
686 *out_num_cbufs = num_cbufs; in crocus_setup_uniforms()
803 unsigned num_cbufs, in crocus_setup_binding_table() argument
856 bt->sizes[CROCUS_SURFACE_GROUP_UBO] = num_cbufs + 1; in crocus_setup_binding_table()
[all …]
Dcrocus_program_cache.c193 unsigned num_system_values, unsigned num_cbufs, in crocus_upload_shader() argument
223 shader->num_cbufs = num_cbufs; in crocus_upload_shader()
Dcrocus_context.h385 unsigned num_cbufs; member
918 unsigned num_cbufs,
Dcrocus_state.c3533 assert(shader->num_cbufs > 0); in upload_sysvals()
3535 unsigned sysval_cbuf_index = shader->num_cbufs - 1; in upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c234 unsigned num_cbufs = ish->nir->info.num_ubos; in iris_disk_cache_retrieve() local
236 if (num_cbufs || ish->nir->num_uniforms) in iris_disk_cache_retrieve()
237 num_cbufs++; in iris_disk_cache_retrieve()
240 num_cbufs++; in iris_disk_cache_retrieve()
243 num_system_values, kernel_input_size, num_cbufs, in iris_disk_cache_retrieve()
Diris_program.c79 unsigned num_cbufs, in iris_finalize_program() argument
87 shader->num_cbufs = num_cbufs; in iris_finalize_program()
672 unsigned num_cbufs = nir->info.num_ubos; in iris_setup_uniforms() local
673 if (num_cbufs || nir->num_uniforms) in iris_setup_uniforms()
674 num_cbufs++; in iris_setup_uniforms()
678 unsigned sysval_cbuf_index = num_cbufs; in iris_setup_uniforms()
679 num_cbufs++; in iris_setup_uniforms()
713 assert(num_cbufs < PIPE_MAX_CONSTANT_BUFFERS); in iris_setup_uniforms()
725 *out_num_cbufs = num_cbufs; in iris_setup_uniforms()
882 unsigned num_cbufs) in iris_setup_binding_table() argument
[all …]
Diris_context.h500 unsigned num_cbufs; member
981 unsigned num_cbufs,
Diris_state.c3279 assert(shader->num_cbufs > 0); in upload_sysvals()
3281 unsigned sysval_cbuf_index = shader->num_cbufs - 1; in upload_sysvals()
/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h33 int num_cbufs, bool zstencil_buf) in graw_util_create_window() argument
71 for (i = 0; i < num_cbufs; i++) { in graw_util_create_window()
134 fb.nr_cbufs = num_cbufs; in graw_util_create_window()
137 for (i = 0; i < num_cbufs; i++) in graw_util_create_window()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.h75 unsigned num_cbufs; member
Dd3d12_pipeline_state.cpp254 pso_desc.NumRenderTargets = state->num_cbufs; in create_gfx_pipeline_state()
255 for (unsigned i = 0; i < state->num_cbufs; ++i) in create_gfx_pipeline_state()
Dd3d12_context.cpp1308 ctx->gfx_pipeline_state.num_cbufs = state->nr_cbufs; in d3d12_set_framebuffer_state()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.h111 util_make_fragment_cloneinput_shader(struct pipe_context *pipe, int num_cbufs,
Du_simple_shaders.c497 util_make_fragment_cloneinput_shader(struct pipe_context *pipe, int num_cbufs, in util_make_fragment_cloneinput_shader() argument
506 assert(num_cbufs <= PIPE_MAX_COLOR_BUFS); in util_make_fragment_cloneinput_shader()
515 for (i = 0; i < num_cbufs; i++) in util_make_fragment_cloneinput_shader()
518 for (i = 0; i < num_cbufs; i++) in util_make_fragment_cloneinput_shader()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c591 unsigned i, num_cbufs = fb->nr_cbufs; in r300_emit_fb_state_pipelined() local
598 num_cbufs = MIN2(num_cbufs, 1); in r300_emit_fb_state_pipelined()
606 for (i = 0; i < num_cbufs; i++) { in r300_emit_fb_state_pipelined()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4447 - iris: initialize num_cbufs