r/GraphicsProgramming • u/NoZBuffer • 20m ago
Source Code 3DGS training in <10 seconds
Apart from not allowing separate queues (no easy way to do async compute), SlangPy is the best thing I've found to write shaders and experiment with ideas, you should really check it out: https://github.com/shader-slang/slangpy + writing HLSL-esque code with all the extra goodies that Slang has (i.e. interfaces), makes it a win-win in my opinion.
I'm quite proud of this project, and thought it could be of interest to the Gfx community.
If I had to point you at a single file, it would probably be https://github.com/electronicarts/perf-gs/blob/master/shaders/rasterize/tile_binned/backward_persplat.slang, the backwardRasterizePerBucket entrypoint at line 499 specifically.
The amount of benchmarking and time I put into that pass makes me quite emotionally attached to it :D
•
u/AutoModerator 20m ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.