diff --git a/gfx/d3d9/render_chain.cpp b/gfx/d3d9/render_chain.cpp index 40f3b19ced..40a869d63a 100644 --- a/gfx/d3d9/render_chain.cpp +++ b/gfx/d3d9/render_chain.cpp @@ -313,8 +313,10 @@ void RenderChain::create_first_pass(const LinkInfo &info, PixelFormat fmt) void RenderChain::compile_shaders(Pass &pass, const std::string &shader) { - CGprofile fragment_profile = cgD3D9GetLatestPixelProfile(); CGprofile vertex_profile = cgD3D9GetLatestVertexProfile(); + CGprofile fragment_profile = cgD3D9GetLatestPixelProfile(); + RARCH_LOG("[D3D9 Cg]: Vertex profile: %s\n", cgGetProfileString(vertex_profile)); + RARCH_LOG("[D3D9 Cg]: Fragment profile: %s\n", cgGetProfileString(fragment_profile)); const char **fragment_opts = cgD3D9GetOptimalOptions(fragment_profile); const char **vertex_opts = cgD3D9GetOptimalOptions(vertex_profile); diff --git a/gfx/shader_cg.c b/gfx/shader_cg.c index f1875666bd..3235097a2e 100644 --- a/gfx/shader_cg.c +++ b/gfx/shader_cg.c @@ -1162,6 +1162,8 @@ bool gl_cg_init(const char *path) RARCH_ERR("Invalid profile type\n"); return false; } + RARCH_LOG("[Cg]: Vertex profile: %s\n", cgGetProfileString(cgVProf)); + RARCH_LOG("[Cg]: Fragment profile: %s\n", cgGetProfileString(cgFProf)); cgGLSetOptimalOptions(cgFProf); cgGLSetOptimalOptions(cgVProf); cgGLEnableProfile(cgFProf);