-
Notifications
You must be signed in to change notification settings - Fork 326
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
BasePipeline is set incorrectly #2392
Comments
bjoeris
added a commit
to bjoeris/gapid
that referenced
this issue
Nov 23, 2018
When the `vk*PipelineCreateInfo` specifies a base pipeline by `basePipelineHandle`, the `basePipelineIndex` is set to -1; the previous code lost this -1 value, and later in `vk*PipelineCreateInfo`, `BasePipelineIndex` was 0, causing `BasePipeline` to be set by index, instead of by handle. This change ensures that `basePipelineIndex` is copied over to the `*PipelineObject`, so that `BasePipeline` is set correctly. Fixes google#2392
#2393 fixes the problem in |
bjoeris
added a commit
to bjoeris/gapid
that referenced
this issue
Nov 23, 2018
When the `vk*PipelineCreateInfo` specifies a base pipeline by `basePipelineHandle`, the `basePipelineIndex` is set to -1; the previous code lost this -1 value, and later in `vk*PipelineCreateInfo`, `BasePipelineIndex` was 0, causing `BasePipeline` to be set by index, instead of by handle. This change ensures that `basePipelineIndex` is copied over to the `*PipelineObject`, so that `BasePipeline` is set correctly. Fixes google#2392
bjoeris
added a commit
to bjoeris/gapid
that referenced
this issue
Nov 24, 2018
When the `vk*PipelineCreateInfo` specifies a base pipeline by `basePipelineHandle`, the `basePipelineIndex` is set to -1; the previous code lost this -1 value, and later in `vk*PipelineCreateInfo`, `BasePipelineIndex` was 0, causing `BasePipeline` to be set by index, instead of by handle. This change ensures that `basePipelineIndex` is copied over to the `*PipelineObject`, so that `BasePipeline` is set correctly. Fixes google#2392
bjoeris
added a commit
that referenced
this issue
Nov 26, 2018
When the `vk*PipelineCreateInfo` specifies a base pipeline by `basePipelineHandle`, the `basePipelineIndex` is set to -1; the previous code lost this -1 value, and later in `vk*PipelineCreateInfo`, `BasePipelineIndex` was 0, causing `BasePipeline` to be set by index, instead of by handle. This change ensures that `basePipelineIndex` is copied over to the `*PipelineObject`, so that `BasePipeline` is set correctly. Fixes #2392
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pipelines created with a base pipeline specified using
basePipelineHandle
create*PipelineObject
s with incorrectBasePipeline
.This causes a loop in the
BasePipeline
graph, and is the ultimate cause of the infinite loop in #2390.The text was updated successfully, but these errors were encountered: