- 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 |
|---|---|---|
| .. | ||
| code_generation_hashes | Loading commit data... | |
| angle_presubmit_utils.py | Loading commit data... | |
| angle_presubmit_utils_unittest.py | Loading commit data... | |
| apply_clang_format_on_all_sources.py | Loading commit data... | |
| bmp_to_nv12.py | Loading commit data... | |
| bootstrap.py | Loading commit data... | |
| egl.xml | Loading commit data... | |
| egl_angle_ext.xml | Loading commit data... | |
| entry_point_packed_gl_enums.json | Loading commit data... | |
| export_targets.py | Loading commit data... | |
| file_exists.py | Loading commit data... | |
| gen_angle_gn_info_json.py | Loading commit data... | |
| gen_gl_enum_utils.py | Loading commit data... | |
| gen_proc_table.py | Loading commit data... | |
| gen_vk_gl_cts_build.py | Loading commit data... | |
| generate_android_bp.py | Loading commit data... | |
| generate_entry_points.py | Loading commit data... | |
| generate_loader.py | Loading commit data... | |
| generate_new_renderer.py | Loading commit data... | |
| generate_stats.py | Loading commit data... | |
| gl.xml | Loading commit data... | |
| gl_angle_ext.xml | Loading commit data... | |
| msvs_projects.py | Loading commit data... | |
| perf_test_runner.py | Loading commit data... | |
| registry_xml.py | Loading commit data... | |
| remove_files.py | Loading commit data... | |
| roll_aosp.sh | Loading commit data... | |
| roll_chromium_deps.py | Loading commit data... | |
| run_code_generation.py | Loading commit data... | |
| run_gtest_angle_test.py | Loading commit data... | |
| trigger.bat | Loading commit data... | |
| trigger.py | Loading commit data... | |
| update_canary_angle.py | Loading commit data... | |
| vk_mandatory_format_support_capture_to_json.js | Loading commit data... | |
| wgl.xml | Loading commit data... |