-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KHR_parallel_shader_compile: lost context behavior spec & test #3188
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kenrussell
approved these changes
Nov 25, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice test. I wish it were possible to make assertions that the completion status of programs that take a long time to compile was false and then transitions to true - let's try to strengthen the test in the future.
blueboxd
pushed a commit
to blueboxd/chromium-legacy
that referenced
this pull request
Nov 26, 2020
KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379 Change-Id: I3c63235ccc3e07e0557e80021888886f893d268a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559534 Auto-Submit: James Darpinian <[email protected]> Commit-Queue: Kenneth Russell <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/master@{#831184}
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Dec 16, 2020
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Dec 18, 2020
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Dec 23, 2020
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mariospr
pushed a commit
to brave/brave-core
that referenced
this pull request
Jan 12, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Jan 14, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mariospr
pushed a commit
to brave/brave-core
that referenced
this pull request
Jan 19, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Jan 21, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mariospr
pushed a commit
to brave/brave-core
that referenced
this pull request
Jan 25, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Jan 26, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Jan 27, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Jan 27, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Feb 3, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Feb 4, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mkarolin
added a commit
to brave/brave-core
that referenced
this pull request
Feb 5, 2021
Shifted a couple of patches. Chromium change: https://source.chromium.org/chromium/chromium/src/+/c67854d8f41a3b02257e2acb2fb7480f609abd11 commit c67854d8f41a3b02257e2acb2fb7480f609abd11 Author: James Darpinian <[email protected]> Date: Thu Nov 26 00:22:24 2020 +0000 COMPLETION_STATUS_KHR should be true on context loss KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379
mjfroman
pushed a commit
to mjfroman/moz-libwebrtc-third-party
that referenced
this pull request
Oct 14, 2022
KHR_parallel_shader_compile COMPLETION_STATUS_KHR queries should return true unconditionally when the context is lost. This is intended to prevent applications from entering an infinite polling loop. Spec clarification and test are landing upstream: KhronosGroup/WebGL#3188 Bug: angleproject:3379 Change-Id: I3c63235ccc3e07e0557e80021888886f893d268a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559534 Auto-Submit: James Darpinian <[email protected]> Commit-Queue: Kenneth Russell <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/master@{#831184} GitOrigin-RevId: c67854d8f41a3b02257e2acb2fb7480f609abd11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was proposed on the public WebGL mailing list, where it was pointed out that KHR_robustness seems to imply that this should be the behavior of all queries. https://www.khronos.org/webgl/public-mailing-list/public_webgl/1904/msg00004.php. The OpenGL working group agrees: KhronosGroup/OpenGL-Registry#263