Skip to content

Commit 1a25fc0

Browse files
committed
fix another ambiguity, finally my unified IES shader compiled
1 parent 0ec69a7 commit 1a25fc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/nbl/builtin/hlsl/surface_transform.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ inline float32_t2 applyToNDC(const FLAG_BITS transform, const float32_t2 ndc)
174174
template<typename TwoColumns>
175175
TwoColumns applyToDerivatives(const FLAG_BITS transform, TwoColumns dDx_dDy)
176176
{
177-
using namespace glsl; // IN HLSL mode, C++ doens't need this to access `inverse`
178-
return mul(inverse(transformMatrix(transform)),dDx_dDy);
177+
return mul(glsl::inverse(transformMatrix(transform)),dDx_dDy);
179178
}
180179

181180
}

0 commit comments

Comments
 (0)