Mesa (master): nvc0: bump sched data member to 32-bits

Ben Skeggs darktama at kemper.freedesktop.org
Wed May 14 23:55:04 UTC 2014


Module: Mesa
Branch: master
Commit: bede1bdb4828ea673bc7859db4058da7e35c6774
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bede1bdb4828ea673bc7859db4058da7e35c6774

Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Fri May  9 15:55:57 2014 +1000

nvc0: bump sched data member to 32-bits

SM50 backend requires 21 bits per instruction, not 8.

Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h
index 8872cfb..f082f85 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.h
@@ -792,7 +792,7 @@ public:
    int8_t flagsDef;
    int8_t flagsSrc;
 
-   uint8_t sched; // scheduling data (NOTE: maybe move to separate storage)
+   uint32_t sched; // scheduling data (NOTE: maybe move to separate storage)
 
    BasicBlock *bb;
 




More information about the mesa-commit mailing list