Commit c3072e5
committed
Enhance HdSt binding and code generation to support shader visibility
- Added `stageVisibility` parameter to `HdStBindingRequest` and related methods to control shader stage visibility.
- Updated resource generation logic in `HdSt_CodeGen` to handle different shader stages.
- Introduced a mapping for shader stages to streamline resource layout management.
- Modified existing functions to accommodate the new stage visibility feature, ensuring proper handling in various shader contexts.
- Added TextureType::DEPTH_TEXTURE in codeGen.cpp1 parent c09a374 commit c3072e5
12 files changed
Lines changed: 289 additions & 182 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
265 | 267 | | |
266 | 268 | | |
267 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
268 | 275 | | |
269 | 276 | | |
270 | 277 | | |
| |||
318 | 325 | | |
319 | 326 | | |
320 | 327 | | |
| 328 | + | |
| 329 | + | |
321 | 330 | | |
322 | 331 | | |
323 | 332 | | |
| |||
0 commit comments