- When converting vertex buffer:
- if there is no render pass active, use compute shader to convert.
- if there is a render pass active and device supports explicit memory
barrier then convert the buffer in vertex shader with direct buffer
write and insert a memory barrier.
- if there is a render pass active and device doesn't support explicit
memory barrier then convert the buffer on CPU.
Bug: angleproject:2634
Change-Id: I5346e3a2adb855f40e46a3912d9db404a4482e0f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2434025
Commit-Queue: Le Hoang Quyen <le.hoang.q@gmail.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Reviewed-by:
Jonah Ryan-Davis <jonahr@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| blit.metal | Loading commit data... | |
| clear.metal | Loading commit data... | |
| common.h | Loading commit data... | |
| constants.h | Loading commit data... | |
| copy_buffer.metal | Loading commit data... | |
| format_autogen.h | Loading commit data... | |
| gen_indices.metal | Loading commit data... | |
| gen_mipmap.metal | Loading commit data... | |
| gen_mtl_internal_shaders.py | Loading commit data... | |
| mtl_default_shaders_src_autogen.inc | Loading commit data... | |
| visibility.metal | Loading commit data... |