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
@@ -1032,12 +1057,12 @@ class IVirtualTexture : public core::IReferenceCounted, public IVirtualTextureBa
1032
1057
}
1033
1058
if (getIntViews().size())
1034
1059
{
1035
-
fillBinding(bindings[i], _isamplersBinding, getIntViews().size(), samplers+1); // @Crisspl this has to be wrong! Sampler state for an interpolated float texture is definitely wrong to use for a integer texture
1060
+
fillBinding(bindings[i], _isamplersBinding, getIntViews().size(), samplers+1); //TODO: @Crisspl this has to be wrong! Sampler state for an interpolated float texture is definitely wrong to use for a integer texture
1036
1061
++i;
1037
1062
}
1038
1063
if (getUintViews().size())
1039
1064
{
1040
-
fillBinding(bindings[i], _usamplersBinding, getUintViews().size(), samplers+1); // @Crisspl this has to be wrong! Sampler state for an interpolated float texture is definitely wrong to use for a integer texture
1065
+
fillBinding(bindings[i], _usamplersBinding, getUintViews().size(), samplers+1); //TODO: @Crisspl this has to be wrong! Sampler state for an interpolated float texture is definitely wrong to use for a integer texture
//problem is with this line below "unexpected LEFT_BRACE", no idea why
300
-
#define _NBL_DEFINE_VT_INTEGER_FUNCTIONS(funcName, implFuncName, retval_t, physicalSamplerName) retval_t implFuncName##(in uint formatID, in vec3 virtualUV, in uint lod, in int originalMaxFullMip) \
301
-
{ \
302
-
int nonnegativeLod = int(lod); \
303
-
int clippedLoD = min(nonnegativeLod,originalMaxFullMip); \
0 commit comments