freedreno/a6xx: Turn on robustness extensions
With UBO access going through LDC, all memory access uses buffer based io primitives. We can then advertise PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR and PIPE_CAP_DEVICE_RESET_STATUS_QUERY, which turn on GL_EXT_robustness, GL_KHR_robust_buffer_access_behavior and GL_KHR_robustness. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5319>
This commit is contained in:

committed by
Marge Bot

parent
8b353524b0
commit
5fb7cad95c
@@ -888,10 +888,8 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro)
|
||||
screen->priority_mask = (1 << val) - 1;
|
||||
}
|
||||
|
||||
if ((fd_device_version(dev) >= FD_VERSION_ROBUSTNESS) &&
|
||||
(fd_pipe_get_param(screen->pipe, FD_PP_PGTABLE, &val) == 0)) {
|
||||
screen->has_robustness = val;
|
||||
}
|
||||
if (fd_device_version(dev) >= FD_VERSION_ROBUSTNESS)
|
||||
screen->has_robustness = true;
|
||||
|
||||
struct sysinfo si;
|
||||
sysinfo(&si);
|
||||
|
Reference in New Issue
Block a user