Added UI functionality to the Graphics System #232
Binary file not shown.
Binary file not shown.
|
@ -55,7 +55,7 @@ vec2 CreateQuad(in uint vertexID)
|
|||
void main()
|
||||
{
|
||||
// write EID data to FS
|
||||
Out2.eid = testPushConstats.eid;
|
||||
Out2.eid = testPushConstant.eid;
|
||||
|
||||
// local variable for font index
|
||||
uint fontIndex = glyphIndex;
|
||||
|
|
Binary file not shown.
|
@ -349,7 +349,13 @@ namespace SHADE
|
|||
auto const ext{ path.extension().string() };
|
||||
if (ext == GLSL_EXTENSION.data())
|
||||
{
|
||||
newPath = SHShaderSourceCompiler::LoadAndCompileShader(path).value();
|
||||
auto value { SHShaderSourceCompiler::LoadAndCompileShader(path) };
|
||||
if (!value.has_value())
|
||||
{
|
||||
SHLOG_ERROR("Shader compile failed: {}", path.string());
|
||||
return;
|
||||
}
|
||||
newPath = value.value();
|
||||
}
|
||||
else if (ext == GLTF_EXTENSION.data() || ext == FBX_EXTENSION.data())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue