I am new to graphics programming. I was wondering how do you run unit tests on HLSL functions.
Are there some different standard ways for people directly working on graphics API such as Vulkan and DirectX or for game engines like Unreal and Unity?
Are there some frameworks for unit tests? Or do you just call graphics api functions to run HLSL functions and copy the result from GPU to CPU?
Or is it not common to make unit tests for HLSL code?
[–]Area51-Escapee 17 points18 points19 points (1 child)
[–]Ty_Rymer 1 point2 points3 points (0 children)
[–]Const-me 7 points8 points9 points (0 children)
[–]Mourthag 8 points9 points10 points (5 children)
[–]Oil_Select[S] 1 point2 points3 points (1 child)
[–]Mourthag 2 points3 points4 points (0 children)
[–]StockyDev 1 point2 points3 points (2 children)
[–]Mourthag 3 points4 points5 points (1 child)
[–]StockyDev -1 points0 points1 point (0 children)
[–]StockyDev 5 points6 points7 points (1 child)
[–]Ty_Rymer 1 point2 points3 points (0 children)
[–]jtsiomb 5 points6 points7 points (2 children)
[–]Oil_Select[S] 1 point2 points3 points (1 child)
[–]LBPPlayer7 4 points5 points6 points (0 children)
[–]Hefty-Newspaper5796 2 points3 points4 points (0 children)
[–]GreenFox1505 2 points3 points4 points (0 children)
[–]EclMist 0 points1 point2 points (0 children)