You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/nbl/asset/material_compiler/CMaterialCompilerGLSLBackendCommon.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ class CMaterialCompilerGLSLBackendCommon
197
197
case OP_DIFFUSE: [[fallthrough]];
198
198
case OP_CONDUCTOR: [[fallthrough]];
199
199
case OP_DIELECTRIC: [[fallthrough]];
200
-
case OP_DIFFTRANS: [[fallthrough]];
200
+
case OP_DIFFTRANS:
201
201
return2u;
202
202
case OP_COATING: [[fallthrough]];
203
203
case OP_BLEND: [[fallthrough]];
@@ -628,6 +628,7 @@ class CMaterialCompilerGLSLBackendCommon
628
628
629
629
structresult_t
630
630
{
631
+
// TODO: should probably use <nbl/builtin/glsl/material_compiler/common_invariant_declarations.glsl> here, actually material compiler should just make `nbl_glsl_MC_oriented_material_t`
0 commit comments