Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c205 unsigned num_cbufs = ish->nir->info.num_ubos; in crocus_disk_cache_retrieve() local
207 if (num_cbufs || ish->nir->num_uniforms) in crocus_disk_cache_retrieve()
208 num_cbufs++; in crocus_disk_cache_retrieve()
211 num_cbufs++; in crocus_disk_cache_retrieve()
220 num_system_values, num_cbufs, &bt); in crocus_disk_cache_retrieve()
Dcrocus_program.c628 unsigned num_cbufs = nir->info.num_ubos; in crocus_setup_uniforms() local
629 if (num_cbufs || nir->num_uniforms) in crocus_setup_uniforms()
630 num_cbufs++; in crocus_setup_uniforms()
634 unsigned sysval_cbuf_index = num_cbufs; in crocus_setup_uniforms()
635 num_cbufs++; in crocus_setup_uniforms()
669 assert(num_cbufs < PIPE_MAX_CONSTANT_BUFFERS); in crocus_setup_uniforms()
686 const_ubo_index->value[0].u32 = num_cbufs; in crocus_setup_uniforms()
691 *out_num_cbufs = num_cbufs; in crocus_setup_uniforms()
808 unsigned num_cbufs, in crocus_setup_binding_table() argument
861 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.c3538 assert(shader->num_cbufs > 0); in upload_sysvals()
3540 unsigned sysval_cbuf_index = shader->num_cbufs - 1; in upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c231 unsigned num_cbufs = ish->nir->info.num_ubos; in iris_disk_cache_retrieve() local
233 if (num_cbufs || ish->nir->num_uniforms) in iris_disk_cache_retrieve()
234 num_cbufs++; in iris_disk_cache_retrieve()
237 num_cbufs++; in iris_disk_cache_retrieve()
240 num_system_values, kernel_input_size, num_cbufs, in iris_disk_cache_retrieve()
Diris_program.c82 unsigned num_cbufs, in iris_finalize_program() argument
90 shader->num_cbufs = num_cbufs; in iris_finalize_program()
680 unsigned num_cbufs = nir->info.num_ubos; in iris_setup_uniforms() local
681 if (num_cbufs || nir->num_uniforms) in iris_setup_uniforms()
682 num_cbufs++; in iris_setup_uniforms()
686 unsigned sysval_cbuf_index = num_cbufs; in iris_setup_uniforms()
687 num_cbufs++; in iris_setup_uniforms()
721 assert(num_cbufs < PIPE_MAX_CONSTANT_BUFFERS); in iris_setup_uniforms()
733 *out_num_cbufs = num_cbufs; in iris_setup_uniforms()
890 unsigned num_cbufs) in iris_setup_binding_table() argument
[all …]
Diris_context.h525 unsigned num_cbufs; member
1001 unsigned num_cbufs,
Diris_state.c3444 assert(shader->num_cbufs > 0); in upload_sysvals()
3446 unsigned sysval_cbuf_index = shader->num_cbufs - 1; in upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_render_pass.c72 const unsigned cresolve_offset = state->num_cbufs + state->have_zsbuf; in create_render_pass2()
75 pstate->num_attachments = state->num_cbufs; in create_render_pass2()
79 for (int i = 0; i < state->num_cbufs; i++) { in create_render_pass2()
125 int num_attachments = state->num_cbufs; in create_render_pass2()
127 struct zink_rt_attrib *rt = state->rts + state->num_cbufs; in create_render_pass2()
197 subpass.colorAttachmentCount = state->num_cbufs; in create_render_pass2()
403 state.num_cbufs = fb->nr_cbufs; in get_render_pass()
404 assert(!state.num_cresolves || state.num_cbufs == state.num_cresolves); in get_render_pass()
459 unsigned num_cbufs = rp->state.num_cbufs; in rp_must_change() local
464 for (unsigned i = 0; i < num_cbufs; i++) { in rp_must_change()
[all …]
Dzink_render_pass.h53 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()
/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.h70 unsigned num_cbufs; member
Dd3d12_pipeline_state.cpp300 pso_desc.NumRenderTargets = state->num_cbufs; in create_gfx_pipeline_state()
301 for (unsigned i = 0; i < state->num_cbufs; ++i) in create_gfx_pipeline_state()
305 if (state->num_cbufs || state->dsv_format != DXGI_FORMAT_UNKNOWN) { in create_gfx_pipeline_state()
Dd3d12_context.cpp1443 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