Capture/Replay: Set uniform buffer offset alignment
During capture, we need to set a common uniform buffer offset
alignment so the trace will be more portable. The offset used
by the trace needs to be divisible by the device's actual value
for GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT.
Empirically I've seen the following values supported by devices:
ARM (16), Intel (32), Qualcomm (128), Nvidia (256)
Test: Manhattan 3.1 MEC
Bug: angleproject:5589
Change-Id: I071b6ae7be4c827eb8df4a8b39db901226d0f00b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2659849Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Reviewed-by:
Tim Van Patten <timvp@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Showing
Please
register
or
sign in
to comment