You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ET-VK] Create Pipeline layouts with push constant ranges when required
## Context
#7223 added the ability to use push constants in shaders. However, one thing the diff missed was not specifying that the compute pipeline layout needed to include a push constant upon creation. The Vulkan validation layers warns against this, and on certain GPUs such as the integrated Intel GPU on my windows laptop compute shaders will produce incorrect output.
This diff makes the change such that the compute pipeline layout will be created with a push constant block if necessary.
## Solution
Change the key of the pipeline layout cache to accept an additional push constant size field. The push constant size will be used to create the pipeline layout with a push constant block of the specified size.
Differential Revision: [D67770793](https://our.internmc.facebook.com/intern/diff/D67770793/)
[ghstack-poisoned]
0 commit comments