mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Check for geometryShader feature when fetching prim ID in pixel history
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user