diff options
author | Ilia Mirkin <[email protected]> | 2014-04-23 23:15:03 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-04-26 12:01:13 -0400 |
commit | 24e68c9024e7b55bce97f0f42d44ff0a3cee3a97 (patch) | |
tree | 6ff253553429e4992d193689b95a020958d8617d /src/gallium/drivers/nouveau | |
parent | 802fe8d9afb755adab4f8aa36cfa34586510a918 (diff) |
nvc0/ir: set instance count based on the GS_INVOCATIONS property
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index e076e72f66c..ef00a2ff700 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -829,11 +829,9 @@ void Source::scanProperty(const struct tgsi_full_property *prop) case TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES: info->prop.gp.maxVertices = prop->u[0].Data; break; -#if 0 - case TGSI_PROPERTY_GS_INSTANCE_COUNT: + case TGSI_PROPERTY_GS_INVOCATIONS: info->prop.gp.instanceCount = prop->u[0].Data; break; -#endif case TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS: info->prop.fp.separateFragData = TRUE; break; |