Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_access.c198 bool is_buffer = var->data.mode == nir_var_mem_ssbo || in process_variable() local
202 if (is_buffer ? !state->buffers_written : !state->images_written) in process_variable()
209 if (is_buffer ? !state->buffers_read : !state->images_read) in process_variable()
221 update_access(struct access_state *state, nir_intrinsic_instr *instr, bool is_image, bool is_buffer) in update_access() argument
237 is_memory_readonly |= is_buffer ? !state->buffers_written : !state->images_written; in update_access()
238 is_memory_writeonly |= is_buffer ? !state->buffers_read : !state->images_read; in update_access()
275 bool is_buffer = in process_intrinsic() local
278 return update_access(state, instr, true, is_buffer); in process_intrinsic()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c138 …sampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer) in zink_get_sampler_view_hash() argument
141 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_sampler_view_hash()
146 …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
149 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_image_view_hash()
157 …return dsurf->is_buffer ? (dsurf->bufferview ? dsurf->bufferview->hash : zink_screen(ctx->base.scr… in get_descriptor_surface_hash()
224 if (zds->surfaces[i].is_buffer) { in descriptor_set_invalidate()
235 if (zds->surfaces[i].is_buffer) { in descriptor_set_invalidate()
931 zds->surfaces[idx].is_buffer = dsurf->is_buffer; in zink_descriptor_surface_desc_set_add()
932 if (dsurf->is_buffer) in zink_descriptor_surface_desc_set_add()
939 …(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.h206 …ampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer);
208 …_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buffer);
253 …ampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool is_buffer);
255 …_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buffer);
Dzink_context.c397 if (res->obj->is_buffer) in get_layout_for_binding()
510 if (res->obj->is_buffer) { in update_descriptor_state_sampler()
514 ctx->di.sampler_surfaces[shader][slot].is_buffer = true; in update_descriptor_state_sampler()
520 ctx->di.sampler_surfaces[shader][slot].is_buffer = false; in update_descriptor_state_sampler()
547 if (res->obj->is_buffer) { in update_descriptor_state_image()
551 ctx->di.image_surfaces[shader][slot].is_buffer = true; in update_descriptor_state_image()
557 ctx->di.image_surfaces[shader][slot].is_buffer = false; in update_descriptor_state_image()
1269 if (!res->obj->is_buffer && !res->image_bind_count[is_compute] && res->bind_count[is_compute]) in unbind_shader_image_counts()
1376 … if (!old_res->obj->is_buffer && !old_res->image_bind_count[p_stage == PIPE_SHADER_COMPUTE]) in zink_set_shader_images()
1428 if ((res->obj->is_buffer && zink_batch_usage_exists(sv->buffer_view->batch_uses)) || in check_samplerview_for_batch_ref()
[all …]
Dzink_batch.c50 bool is_buffer = ZINK_BINDLESS_IS_BUFFER(handle); in zink_reset_batch_state() local
51 …struct util_idalloc *ids = i ? &ctx->di.bindless[is_buffer].img_slots : &ctx->di.bindless[is_buffe… in zink_reset_batch_state()
52 util_idalloc_free(ids, is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle); in zink_reset_batch_state()
Dzink_context.h141 bool is_buffer; member
154 …return ds->is_buffer ? (struct zink_resource*)ds->bufferview->pres : (struct zink_resource*)ds->su… in zink_descriptor_surface_resource()
Dzink_resource.h78 bool is_buffer; member
Dzink_resource.c88 if (obj->is_buffer) { in zink_destroy_resource_object()
484 obj->is_buffer = true; in resource_object_create()
686 if (templ->usage == PIPE_USAGE_STAGING && obj->is_buffer) in resource_object_create()
809 if (res->obj->is_buffer) { in resource_create()
1453 if (m->obj->is_buffer) { in zink_transfer_flush_region()
1593 if (res->obj->is_buffer) { in zink_resource_object_init_storage()
Dzink_draw.cpp368 if (res->obj->is_buffer) { in update_barriers()
/third_party/boost/libs/move/test/
Dinplace_merge_test.cpp115 || is_buffer(testarray.get()+ KeySize+DataSize, BlockSize) )); in alternating_test()
126 || is_buffer(testarray.get()+ KeySize, BlockSize) )); in alternating_test()
137 || is_buffer(testarray.get()+ KeySize, BlockSize) )); in alternating_test()
Dorder_type.hpp157 inline bool is_buffer(T *elements, std::size_t element_count) in is_buffer() function
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dassign_parents.hpp233 static bool const is_buffer = OverlayType == overlay_buffer; in assign_parents() local
235 static bool const check_for_orientation = is_buffer || is_dissolve; in assign_parents()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1287 bool is_buffer = (so->base.target == PIPE_BUFFER); in panfrost_create_sampler_view_bo() local
1289 unsigned first_level = is_buffer ? 0 : so->base.u.tex.first_level; in panfrost_create_sampler_view_bo()
1290 unsigned last_level = is_buffer ? 0 : so->base.u.tex.last_level; in panfrost_create_sampler_view_bo()
1291 unsigned first_layer = is_buffer ? 0 : so->base.u.tex.first_layer; in panfrost_create_sampler_view_bo()
1292 unsigned last_layer = is_buffer ? 0 : so->base.u.tex.last_layer; in panfrost_create_sampler_view_bo()
1293 unsigned buf_offset = is_buffer ? so->base.u.buf.offset : 0; in panfrost_create_sampler_view_bo()
1294 unsigned buf_size = (is_buffer ? so->base.u.buf.size : 0) / in panfrost_create_sampler_view_bo()
1480 bool is_buffer = rsrc->base.target == PIPE_BUFFER; in emit_image_bufs() local
1482 unsigned offset = is_buffer ? image->u.buf.offset : in emit_image_bufs()
1491 unsigned level = is_buffer ? 0 : image->u.tex.level; in emit_image_bufs()
[all …]
/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.c2187 gboolean is_buffer; in gst_multi_queue_loop() local
2220 is_buffer = GST_IS_BUFFER (object); in gst_multi_queue_loop()
2403 if (is_buffer) in gst_multi_queue_loop()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c688 bool is_buffer = rviews[i]->base.texture->target == PIPE_BUFFER; in r600_set_sampler_views() local
690 if (!is_buffer && rtex->db_compatible) { in r600_set_sampler_views()
697 if (!is_buffer && rtex->cmask.size) { in r600_set_sampler_views()
Devergreen_state.c4217 bool is_buffer = image->target == PIPE_BUFFER; in evergreen_set_shader_images() local
4219 if (!is_buffer & rtex->db_compatible) in evergreen_set_shader_images()
4224 if (!is_buffer && rtex->cmask.size) in evergreen_set_shader_images()
4228 if (!is_buffer) { in evergreen_set_shader_images()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeStateApiTests.cpp1073 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/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

12