Commit Graph

1 Commits

Author SHA1 Message Date
Sascha Willems 2b5ef6d6f3 Add a new compute shader bonus chapter (#320)
* Started working on compute shader bonus chapter

* Continued work on compute shader bonus chapter

* Continued work on compute shader bonus chapter

* Added code for compute sample

work-in-progress

* Added code for compute sample

Per-frame ssbos
Compute shader is now integrated and updating particles
work-in-progress

* Added code for compute sample

Nicer visuals, circular initial particle positions
work-in-progress

* Added code for compute sample

work-in-progress

* Tutorial compute queue families, submission and synchronization chapter

* Added paragraphs on sync, submit and queue familes

Rewording some paragraphs

* Rewording

Added image for workgroup and invocations compute space

* Sample for work group and dispatch counts

* Note and spec reference on queue families

* Minor additions

* Sample code uses SSBO per frame

Code cleanup
Tutotorial changed

* Added image for SSBOs per-frame reads and writes

* Conclusion

* Added note on signaled fences

* Update 11_Compute_Shader.md

* Use persistent mapped buffers

* Added links to advanced topics (tutorials, samples)

* Fixed typo

* Add note for the storage image chapter

* Added note on how to handle uneven no. of invocations using gl_GlobalInvocationID

* Added compute fence resize to tutorial

Was already present in code

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Update en/11_Compute_Shader.md

Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>

* Name the actual compute related physical device limits

* Clarfiy how work group and invocation counts are specified

* Show how initial particle data is generated for the shader storage buffer s

* Restructure SSBO setup

* Indentation

* Minor touches

* fixed transposition

* Added note on std140 memory layout qualifier

---------

Co-authored-by: Marty Johnson <68354714+marty-johnson59@users.noreply.github.com>
Co-authored-by: Charles Giessen <46324611+charles-lunarg@users.noreply.github.com>
2023-02-06 18:01:22 +01:00