diff --git a/.gitea/workflows/1.4-CTS.yml b/.gitea/workflows/1.4-CTS.yml index 83ea2be..fa9621a 100644 --- a/.gitea/workflows/1.4-CTS.yml +++ b/.gitea/workflows/1.4-CTS.yml @@ -17,7 +17,7 @@ jobs: - name: Install system dependencies run: | apt update - apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang + apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang libwayland-server0 - name: Building run: zig build diff --git a/.gitea/workflows/Test.yml b/.gitea/workflows/Test.yml index a1fd608..5dd3f48 100644 --- a/.gitea/workflows/Test.yml +++ b/.gitea/workflows/Test.yml @@ -20,7 +20,7 @@ jobs: - name: Install system dependencies run: | apt update - apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang + apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang libwayland-server0 - name: Building run: zig build @@ -61,7 +61,7 @@ jobs: which deqp-runner && deqp-runner --version || echo "deqp-runner not found" - name: Run Vulkan CTS - run: zig build cts-soft + run: zig build cts-soft -- -j4 continue-on-error: true - name: Verify tests diff --git a/src/vulkan/lib.zig b/src/vulkan/lib.zig index 6a8d40e..670023d 100644 --- a/src/vulkan/lib.zig +++ b/src/vulkan/lib.zig @@ -58,20 +58,7 @@ pub const VULKAN_VERSION = vk.makeApiVersion(0, 1, 0, 0); /// Maximum number of descriptor sets per pipeline pub const VULKAN_MAX_DESCRIPTOR_SETS = 32; -/// From the Vulkan 1.3.274 spec: -/// -/// VUID-VkPipelineLayoutCreateInfo-pPushConstantRanges-00292 -/// -/// "Any two elements of pPushConstantRanges must not include the same -/// stage in stageFlags" -/// -/// and -/// -/// VUID-VkPushConstantRange-stageFlags-requiredbitmask -/// -/// "stageFlags must not be 0" -/// -/// This means that the number of push constant ranges is effectively bounded +/// The number of push constant ranges is effectively bounded /// by the number of possible shader stages. Not the number of stages that can /// be compiled together (a pipeline layout can be used in multiple pipelnes /// wth different sets of shaders) but the total number of stage bits supported