Commit be86fb1
committed
Update on "[ET-VK] Cache compiled SPIR-V and only recompile when changed"
## Context
As title. Introduce a caching mechanism to store SPIR-V generated in a previous build to avoid re-compiling them.
A shader will not be re-compiled if the source GLSL template is unchanged.
For Meta internal builds, the `etvk.force_shader_rebuild` buck config can be used to force all shaders to be built without using the cache.
Differential Revision: [D71916745](https://our.internmc.facebook.com/intern/diff/D71916745/)
[ghstack-poisoned]1 parent 00f3e34 commit be86fb1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
| 738 | + | |
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| |||
0 commit comments