Home
last modified time | relevance | path

Searched refs:is_buffer (Results 1 – 25 of 57) sorted by relevance

123

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_access.c201 bool is_buffer = var->data.mode == nir_var_mem_ssbo || in process_variable() local
205 if (is_buffer ? !state->buffers_written : !state->images_written) in process_variable()
212 if (is_buffer ? !state->buffers_read : !state->images_read) in process_variable()
224 update_access(struct access_state *state, nir_intrinsic_instr *instr, bool is_buffer, bool is_globa… in update_access() argument
245 is_memory_readonly |= is_buffer ? !state->buffers_written : !state->images_written; in update_access()
246 is_memory_writeonly |= is_buffer ? !state->buffers_read : !state->images_read; in update_access()
286 bool is_buffer = in process_intrinsic() local
289 return update_access(state, instr, is_buffer, false); in process_intrinsic()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c141 …sampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer) in zink_get_sampler_view_hash() argument
144 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_sampler_view_hash()
149 …k_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buffer) in zink_get_image_view_hash() argument
152 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_image_view_hash()
160 …return dsurf->is_buffer ? (dsurf->bufferview ? dsurf->bufferview->hash : zink_screen(ctx->base.scr… in get_descriptor_surface_hash()
229 if (zds->surfaces[idx].is_buffer) { in descriptor_set_invalidate()
240 if (zds->surfaces[idx].is_buffer) { in descriptor_set_invalidate()
987 zds->surfaces[idx].is_buffer = dsurf->is_buffer; in zink_descriptor_surface_desc_set_add()
988 if (dsurf->is_buffer) in zink_descriptor_surface_desc_set_add()
995 …(struct zink_image_view *image_view, struct zink_descriptor_set *zds, unsigned idx, bool is_buffer) in zink_image_view_desc_set_add() argument
[all …]
Dzink_descriptors.h255 …ampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer);
257 …_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buffer);
304 …ampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer);
306 …_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buffer);
Dzink_context.c485 if (res->obj->is_buffer) in get_layout_for_binding()
594 if (res->obj->is_buffer) { in update_descriptor_state_sampler()
598 ctx->di.sampler_surfaces[shader][slot].is_buffer = true; in update_descriptor_state_sampler()
616 ctx->di.sampler_surfaces[shader][slot].is_buffer = false; in update_descriptor_state_sampler()
643 if (res->obj->is_buffer) { in update_descriptor_state_image()
647 ctx->di.image_surfaces[shader][slot].is_buffer = true; in update_descriptor_state_image()
653 ctx->di.image_surfaces[shader][slot].is_buffer = false; in update_descriptor_state_image()
1491 if (!res->obj->is_buffer && !res->image_bind_count[is_compute] && res->bind_count[is_compute]) in unbind_shader_image_counts()
1690 if ((res->obj->is_buffer && zink_batch_usage_exists(sv->buffer_view->batch_uses)) || in check_samplerview_for_batch_ref()
1691 (!res->obj->is_buffer && zink_batch_usage_exists(sv->image_view->batch_uses))) in check_samplerview_for_batch_ref()
[all …]
Dzink_batch.c52 bool is_buffer = ZINK_BINDLESS_IS_BUFFER(handle); in zink_reset_batch_state() local
53 …struct util_idalloc *ids = i ? &ctx->di.bindless[is_buffer].img_slots : &ctx->di.bindless[is_buffe… in zink_reset_batch_state()
54 util_idalloc_free(ids, is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle); in zink_reset_batch_state()
522 if (write && !res->obj->is_buffer) { in zink_batch_resource_usage_set()
Dzink_context.h153 bool is_buffer; member
171 …return ds->is_buffer ? (struct zink_resource*)ds->bufferview->pres : (struct zink_resource*)ds->su… in zink_descriptor_surface_resource()
Dzink_resource.h82 bool is_buffer; member
Dzink_resource.c101 if (obj->is_buffer) { in zink_destroy_resource_object()
640 obj->is_buffer = true; in resource_object_create()
1005 if (templ->usage == PIPE_USAGE_STAGING && obj->is_buffer) in resource_object_create()
1194 if (res->obj->is_buffer) { in resource_create()
2040 if (m->obj->is_buffer) { in zink_transfer_flush_region()
2163 if (res->obj->is_buffer) { in zink_resource_object_init_storage()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c249 bool is_buffer = rsrc->base.target == PIPE_BUFFER; in panfrost_track_image_access() local
250 unsigned level = is_buffer ? 0 : image->u.tex.level; in panfrost_track_image_access()
253 if (is_buffer) { in panfrost_track_image_access()
Dpan_cmdstream.c1692 bool is_buffer = (so->base.target == PIPE_BUFFER); in panfrost_create_sampler_view_bo() local
1694 unsigned first_level = is_buffer ? 0 : so->base.u.tex.first_level; in panfrost_create_sampler_view_bo()
1695 unsigned last_level = is_buffer ? 0 : so->base.u.tex.last_level; in panfrost_create_sampler_view_bo()
1696 unsigned first_layer = is_buffer ? 0 : so->base.u.tex.first_layer; in panfrost_create_sampler_view_bo()
1697 unsigned last_layer = is_buffer ? 0 : so->base.u.tex.last_layer; in panfrost_create_sampler_view_bo()
1698 unsigned buf_offset = is_buffer ? so->base.u.buf.offset : 0; in panfrost_create_sampler_view_bo()
1699 unsigned buf_size = (is_buffer ? so->base.u.buf.size : 0) / in panfrost_create_sampler_view_bo()
1901 bool is_buffer = rsrc->base.target == PIPE_BUFFER; in emit_image_bufs() local
1903 unsigned offset = is_buffer ? image->u.buf.offset : in emit_image_bufs()
1918 if (is_buffer) { in emit_image_bufs()
/third_party/node/src/
Dstring_bytes.cc402 bool is_buffer = Buffer::HasInstance(val); in StorageSize() local
404 if (is_buffer && (encoding == BUFFER || encoding == LATIN1)) { in StorageSize()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fNegativeStateApiTests.cpp625 ES2F_ADD_API_CASE(is_buffer, "Invalid glIsBuffer() usage", in init()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstmultiqueue.c2342 gboolean is_buffer; local
2418 is_buffer = GST_IS_BUFFER (object);
2611 if (is_buffer)
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c692 bool is_buffer = rviews[i]->base.texture->target == PIPE_BUFFER; in r600_set_sampler_views() local
694 if (!is_buffer && rtex->db_compatible) { in r600_set_sampler_views()
701 if (!is_buffer && rtex->cmask.size) { in r600_set_sampler_views()
Devergreen_state.c4212 bool is_buffer = image->target == PIPE_BUFFER; in evergreen_set_shader_images() local
4214 if (!is_buffer & rtex->db_compatible) in evergreen_set_shader_images()
4219 if (!is_buffer && rtex->cmask.size) in evergreen_set_shader_images()
4223 if (!is_buffer) { in evergreen_set_shader_images()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeStateApiTests.cpp1077 ES3F_ADD_API_CASE(is_buffer, "Invalid glIsBuffer() usage", in init()
/third_party/python/Modules/
Dposixmodule.c1132 int is_index, is_buffer, is_bytes, is_unicode; in path_converter() local
1170 is_buffer = PyObject_CheckBuffer(o); in path_converter()
1174 if (!is_index && !is_buffer && !is_unicode && !is_bytes) { in path_converter()
1246 else if (is_buffer) { in path_converter()
/third_party/python/Objects/
Dunicodeobject.c4171 int is_buffer = 0; in PyUnicode_FSDecoder() local
4180 is_buffer = PyObject_CheckBuffer(arg); in PyUnicode_FSDecoder()
4181 if (!is_buffer) { in PyUnicode_FSDecoder()
4195 else if (PyBytes_Check(path) || is_buffer) { in PyUnicode_FSDecoder()
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gl/aosp_mustpass/main/
Dgl45-es3-master.txt1315 dEQP-GL45-ES3.functional.negative_api.state.is_buffer
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gl/aosp_mustpass/4.6.1.x/
Dgl45-es3-master.txt1315 dEQP-GL45-ES3.functional.negative_api.state.is_buffer
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst3500 - radeonsi: check is_buffer once instead of 4 times in si_set_sampler_view_desc
4005 - zink: add is_buffer flag to union zink_descriptor_surface
4006 - zink: update null sampler/image descriptor surface with is_buffer during hashing
/third_party/vk-gl-cts/android/cts/master/
Dgles2-master-2020-03-01.txt11896 dEQP-GLES2.functional.negative_api.state.is_buffer
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dgles2-master-PASS.txt2707 dEQP-GLES2.functional.negative_api.state.is_buffer
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles2-master.txt11621 dEQP-GLES2.functional.negative_api.state.is_buffer
/third_party/vk-gl-cts/android/cts/main/
Dgles2-master-2020-03-01.txt2299 dEQP-GLES2.functional.negative_api.state.is_buffer

123