Quick answer: Vulkan stencil-only image creation failing on certain drivers? Some drivers require VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT plus the flag.

Create VK_FORMAT_S8_UINT image with sampled bit; AMD rejects; Intel accepts.

Add depth_stencil_attachment

Combine with sampled. Drivers accept the combined usage.

Or use combined format

D24_S8 instead of S8_UINT; depth_stencil format supports stencil access.

Test per driver

Each shipping driver: image creation paths. Mismatches surface.

“Image creation flags are driver-sensitive. Test broadly.”

Build a per-driver shader/image config registry. Cross-platform support is per-platform tuning.

Related reading