Opaque sparse memory bindings for mip tails
This commit is contained in:
parent
8f2ea86e11
commit
385b760770
3 changed files with 59 additions and 24 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue