a little side exercise to see how little code one can get away with to put that rgb triangle on screen in d3d11 (without bending over backwards with trickery). this is a complete app in less than 50 loc (including #pragmas, #includes and hlsl code): https://gist.github.com/d7samurai/1e9a1f1a366740f7d8a3a20397fcfa6b