what am i doing
Arcane
- Joined
- Dec 24, 2018
- Messages
- 1,783
? GLSL if you're using OpenGL, HLSL if you're using Direct3D, MSL if you're using Metal, and any one of them that you want if you're using Vulkan.writing ever more complicated shaders requiring different languages for every hardware vendor etc.
This doesn't change with different hardware. Available device features might, but you can write all your shaders in the same language. And at least in GLSL's case it doesn't matter if you're doing graphics or compute, GLSL is fine for either.