Check for geometryShader feature when fetching prim ID in pixel history

This commit is contained in:
baldurk
2020-05-15 11:23:07 +01:00
parent e08f4a43a9
commit ca28154fc0
3 changed files with 36 additions and 16 deletions
+3
View File
@@ -278,6 +278,9 @@ public:
{
QString ret = tr("Primitive %1\n").arg(mod.primitiveID);
if(mod.primitiveID == ~0U)
ret = tr("Unknown primitive\n");
if(mod.shaderDiscarded)
ret += failureString(mod);