D3D12: Optimize bitcasts
I've come back to this because I had some time, and rebasing it seemed straightforward. This MR considerably reduces the amount of bit casts we emit in shaders, which means the shader becomes shorter and faster to process.
I didn't see any regressions with piglit run gl_quick or KHR-GL33.*
.
Edited by Gert Wollny