Resolve "Pipeline State Object"
Compare changes
- #16][Fix] Fix queue creationVanessa Karolek authored
If you specify Compute and Transfer as QueueFlagBits in main.cpp, I get the error telling I create more queues than being available for this queue family. The error is caused by wrong indexing in line 111. My device holds 3 queue families and Compute and Transfer operations are only supported by queue family #0 and #2, but we indexed #1 since we push queue family candidates into a vector structure. Thus, queue family #1 is ignored and queue family #2 is not indexed. Therefore, the queue family candidates vector is unnecessary and just causing trouble.
+ 296
− 49
@@ -78,49 +81,169 @@ namespace vkcv
@@ -146,14 +269,42 @@ namespace vkcv
@@ -190,9 +341,9 @@ namespace vkcv
@@ -233,10 +384,12 @@ namespace vkcv
@@ -256,10 +409,52 @@ namespace vkcv
@@ -267,7 +462,59 @@ namespace vkcv