This function can return NULL on error, and right now a null de-reference occurs when this happened.
All cases where it returns NULL, it also sets the SDL error string, so I don't do that here.
Also fixed a similar case when calling D3DCompile. vkd3d logs to the console on its own, but does not set the error blob.
vkd3d:60115:fixme:hlsl_compile_shader Unknown compilation target "vs_5_1".
This function can return NULL on error, and right now a null de-reference occurs when this happened.
All cases where it returns NULL, it also sets the SDL error string, so I don't do that here.
Also fixed a similar case when calling D3DCompile. vkd3d logs to the console on its own, but does not set the error blob.
vkd3d:60115:fixme:hlsl_compile_shader Unknown compilation target "vs_5_1".