Home
last modified time | relevance | path

Searched refs:bind_count (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c68 unsigned bind_count; member
130 queue->bind[queue->bind_count].unit = unit; in emit_tex_binding_unit()
131 queue->bind[queue->bind_count].view = view; in emit_tex_binding_unit()
132 queue->bind_count++; in emit_tex_binding_unit()
154 queue.bind_count = 0; in update_tss_binding()
181 if (queue.bind_count) { in update_tss_binding()
185 queue.bind_count) != PIPE_OK) in update_tss_binding()
188 for (i = 0; i < queue.bind_count; i++) { in update_tss_binding()
246 queue.bind_count = 0; in svga_reemit_tss_bindings()
252 queue.bind[queue.bind_count].unit = i; in svga_reemit_tss_bindings()
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dbuffer9.h58 int16_t bind_count; /* to Device9->state.stream */ member
126 buf->bind_count++; in NineBindBufferToDevice()
129 old->bind_count--; in NineBindBufferToDevice()
130 if (!old->bind_count && old->managed.dirty) in NineBindBufferToDevice()
141 if ((b)->managed.dirty && (b)->bind_count) \
Dbasetexture9.h42 int16_t bind_count; /* to Device9->state.texture */ member
148 tex->bind_count++; in NineBindTextureToDevice()
151 old->bind_count--; in NineBindTextureToDevice()
152 if (!old->bind_count) in NineBindTextureToDevice()
168 if (((t)->managed.dirty | ((t)->dirty_mip)) && (t)->bind_count) \
Dbasetexture9.c126 if (This->managed.lod != old && This->bind_count && list_is_empty(&This->list)) in NineBaseTexture9_SetLOD()
365 if (This->bind_count) { in NineBaseTexture9_UploadSelf()
Dbuffer9.c228 if (!This->bind_count) in NineBuffer9_RebindIfRequired()
Ddevice9.c739 if (!tex->bind_count) in NineDevice9_EvictManagedResourcesInternal()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_context.h53 unsigned int bind_count; member
Ddri_context.c262 if (--ctx->bind_count == 0) { in dri_unbind_context()
290 ++ctx->bind_count; in dri_make_current()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp363 if (res->bind_count[is_compute]) { in update_barriers()
366 if (res->write_bind_count[is_compute] != res->bind_count[is_compute]) { in update_barriers()
367 unsigned bind_count = res->bind_count[is_compute] - res->write_bind_count[is_compute]; in update_barriers() local
371 bind_count -= res->ubo_bind_count[is_compute]; in update_barriers()
376 bind_count -= util_bitcount(res->vbo_bind_mask); in update_barriers()
378 bind_count -= res->so_bind_count; in update_barriers()
380 if (bind_count) in update_barriers()
405 if (res->write_bind_count[is_compute] && res->bind_count[is_compute] > 1) in update_barriers()
Dzink_resource.h121 uint16_t bind_count[2]; //gfx, compute member
Dzink_context.c897 assert(res->bind_count[is_compute]); in update_res_bind_count()
898 if (!--res->bind_count[is_compute]) in update_res_bind_count()
902 res->bind_count[is_compute]++; in update_res_bind_count()
1269 if (!res->obj->is_buffer && !res->image_bind_count[is_compute] && res->bind_count[is_compute]) in unbind_shader_image_counts()
1276 …VkImageLayout layout = res->bind_count[is_compute] ? zink_descriptor_util_image_layout_eval(res, i… in check_for_layout_update()
1277 …VkImageLayout other_layout = res->bind_count[!is_compute] ? zink_descriptor_util_image_layout_eval… in check_for_layout_update()
1278 if (res->bind_count[is_compute] && layout && res->layout != layout) in check_for_layout_update()
1280 …if (res->bind_count[!is_compute] && other_layout && (layout != other_layout || res->layout != othe… in check_for_layout_update()
1331 res->bind_count[is_compute] > 1) in finalize_image_bind()
2813 if (res->bind_count[0] - res->so_bind_count > 0) { in resource_check_defer_buffer_barrier()
[all …]
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst3937 - zink: unify code for updating res->bind_count values