Opaque sparse memory bindings for mip tails

This commit is contained in:
saschawillems 2016-09-12 19:53:39 +02:00
parent 8f2ea86e11
commit 385b760770
3 changed files with 59 additions and 24 deletions

View file

@ -18,7 +18,7 @@ layout (location = 0) out vec4 outFragColor;
void main()
{
// Get residency code for current texel
int residencyCode = sparseTextureARB(samplerColor, inUV, outFragColor);
int residencyCode = sparseTextureARB(samplerColor, inUV, outFragColor, inLodBias);
// Check if texel is resident
bool texelResident = sparseTexelsResidentARB(residencyCode);