VK Shader Debug Zoo test for OpImageSampleProjDrefExplicitLod

This commit is contained in:
Jake Turner
2025-11-24 15:27:20 +13:00
parent 792afc2190
commit 2f057a78d4
@@ -1649,6 +1649,15 @@ void main()
}
break;
}
case 186:
{
float x = textureProj(sampler2DShadow(depthImage, shadowSampler), vec4(inpos, 0.1f, 0.5f));
float y = textureProj(sampler2DShadow(depthImage, shadowSampler), vec4(inpos, 0.3f, 0.5f));
float z = textureProj(sampler2DShadow(depthImage, shadowSampler), vec4(inpos, 0.7f, 0.5f));
float w = textureProj(sampler2DShadow(depthImage, shadowSampler), vec4(inpos, 0.9f, 0.5f));
Color = vec4(x, y, z, w);
break;
}
default: break;
}
}