Vulkan: Resource Submission Tracking #105183
|
@ -123,7 +123,7 @@ struct Shader {
|
|||
void dispatch()
|
||||
{
|
||||
/* Dispatching 1000000 times to add some stress to the GPU. Without it tests may succeed when
|
||||
* using to simple shaders. */
|
||||
* using too simple shaders. */
|
||||
GPU_compute_dispatch(shader, 1000, 1000, 1);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -24,10 +24,9 @@ class VKCommandBuffer;
|
|||
* a new version of these resources should be created.
|
||||
*
|
||||
* When a resource is updated it should check the submission id of the
|
||||
* command buffer. If this is different than resources can be reused.
|
||||
* If they the submission id is the same that the resource uses it
|
||||
* should create a new version of the resource to now intervene with
|
||||
* other commands that uses the resource.
|
||||
* command buffer. If it is different, then the resource can be reused.
|
||||
Jeroen-Bakker marked this conversation as resolved
Outdated
|
||||
* If the submission id is the same a new version of the resource to now
|
||||
* intervene with other commands that uses the resource.
|
||||
*
|
||||
* SubmissionID is the identifier to keep track if a new submission is
|
||||
* being recorded.
|
||||
|
|
Loading…
Reference in New Issue
"If this is different than resources can be reused." > "If it is different, then the resource can be reused."