Added ability to retrieve uniform info.

This commit is contained in:
Branimir Karadžić
2016-11-02 00:12:40 -07:00
parent 3a5d05759d
commit a3113ab94c
11 changed files with 66 additions and 11 deletions

View File

@@ -3880,7 +3880,7 @@ data.NumQualityLevels = 0;
}
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
{
const UniformInfo* info = s_renderD3D12->m_uniformReg.find(name);
const UniformRegInfo* info = s_renderD3D12->m_uniformReg.find(name);
BX_WARN(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
if (NULL != info)