File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,10 +82,15 @@ jobs:
8282 } else {
8383 echo "::error::VK_DRIVER_FILES not found at: $env:VK_DRIVER_FILES"
8484 }
85+ # Set VK_LAYER_PATH to SDK Bin for validation layers
86+ echo "VK_LAYER_PATH=$env:VULKAN_SDK\Bin" >> $env:GITHUB_ENV
8587
8688 - name : Configure Environment (macOS)
8789 if : runner.os == 'macOS'
8890 run : |
91+ # Disable Metal Argument Buffers to prevent crash on Paravirt GPU
92+ echo "MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS=0" >> $GITHUB_ENV
93+
8994 # Check common locations for MoltenVK ICD
9095 if [ -f "$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json" ]; then
9196 echo "Found MoltenVK at share/..."
Original file line number Diff line number Diff line change @@ -144,6 +144,12 @@ void vhInit( bool quiet )
144144 g_vulkanPhysicalDevice = vkbPhys.physical_device ;
145145 if ( !quiet ) VRHI_LOG ( " Selected GPU Device: %s\n " , vkbPhys.name .c_str () );
146146
147+ VkPhysicalDeviceDriverProperties driverProps = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES };
148+ VkPhysicalDeviceProperties2 props2 = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 };
149+ props2.pNext = &driverProps;
150+ vkGetPhysicalDeviceProperties2 ( g_vulkanPhysicalDevice, &props2 );
151+ VRHI_LOG ( " Vulkan Driver: %s (%s)\n " , driverProps.driverName , driverProps.driverInfo );
152+
147153 // Device Creation & Queues (via vk-bootstrap)
148154
149155 bool rtExtEnabled = false ;
You can’t perform that action at this time.
0 commit comments