Commit cc24f0b
committed
Update base for Update on "[ET-VK] Introduce generalized shaders for transfer ops and use it for select and slice"
## Changes
* Introduce `transfer_buffer.glsl` and `transfer_texture.glsl`, and `Transfer.cpp` which generalizes shaders where each element of the output is copied from a unique element of the input.
* Update `Slice.cpp` and `Select.cpp` to use `Transfer.cpp`
* Remove old implementations of slice and select
## Motivation
With this new implementation, the op can now support both buffers and textures of any packing. There are also benefits of code consolidation.
Differential Revision: [D75686050](https://our.internmc.facebook.com/intern/diff/D75686050/)
[ghstack-poisoned]1 parent 38497f1 commit cc24f0b
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
| |||
0 commit comments