|
Suppose I have a compute shader with a really sparse SSBO array that is ostensibly a tree structure that fills itself up (fixed depth, fixed size). Is it fine to just no-op any indexes that haven't been populated yet? Edit: Found better leverage of my acceleration structure to still do everything parallel but get 90% of the benefit. Still posing the question whether a single if-then-no-op is potentially slow just because it needs to split the execution weirdly or something. Ranzear fucked around with this message at 01:41 on Mar 20, 2023 |
# ¿ Mar 15, 2023 22:22 |
|
|
# ¿ Apr 29, 2024 15:27 |