Search Issue Tracker

Won't Fix

Votes

0

Found in

3.5.0f5

Issue ID

451796

Regression

No

Remove gfxDevice dependency when building shaders

Shaders (Legacy)

-

Remove gfxDevice dependency when building shaders

(Premium Support case 2050 filed by Ricardo)

To Reproduce:
1. Unzip project.
2. Build in command line without the "-nographics" parameter. Run the App.
3. Build in command line with the "-nographics" parameter. Run the App.

Expected:
1. Same results.

Actual:
1. Different results. When built using "-nographics" the gfxDevice is null. Therefore it will throw:

if( !m_Shader )
{
printf_console("Unsupported: %s\n", m_ShaderName.c_str());
}

After failing to parse the shader.

Add comment

Log in to post comment