Hacker News new | ask | show | jobs
by monocasa 6 days ago
There's a shader binary extension that's supposed to be for compute shaders and pipeline state objects previously compile on that system/driver that is possible to reuse with a little elbow grease.
1 comments

What extension? If you are talking about vkGetShaderBinaryDataEXT / vkCreateShadersEXT, that is SPIR-V binary, not the ISA that runs on the GPU. SPIR-V is IL.
vkGetPipelineBinaryDataKHR was what I was thinking of. In the implementations I know of, it's the actual GPU compiled code in some driver internal format (as well as whatever in the PSO doesn't live in the shaders).
I think I was wrong now that I re-read that spec.