summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-05-28 14:23:35 -0400
committerIlia Mirkin <[email protected]>2016-05-30 18:14:55 -0400
commit27a51ff9b420909334898785cf194b5998776e88 (patch)
tree9830d69848db25474f504f7730cd207eac7cc748 /src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
parentae708795309d7e6e590a0232bdac93188a96d78f (diff)
nv50/ir: record number of threads in a compute shader
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir.cpp')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
index 35cd7217c2c..2caebe87efe 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
@@ -1178,6 +1178,7 @@ nv50_ir_init_prog_info(struct nv50_ir_prog_info *info)
info->prop.gp.instanceCount = 1;
info->prop.gp.maxVertices = 1;
}
+ info->prop.cp.numThreads = 1;
info->io.pointSize = 0xff;
info->io.instanceId = 0xff;
info->io.vertexId = 0xff;