nv50/ir: improve maintainability of Target*::initOpInfo()
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 29 Jun 2018 13:51:11 +0000 (14:51 +0100)
committerKarol Herbst <kherbst@redhat.com>
Fri, 29 Jun 2018 14:47:27 +0000 (16:47 +0200)
commitffba56cc3cdcc27bb4e0697f3884a4aac2067bab
tree94ad4fbb0f3a296d53ea8f44768d89114fe0ced3
parentd885303a384978eeefdb2a264ca747292eff0b86
nv50/ir: improve maintainability of Target*::initOpInfo()

This is mainly useful for when one needs to add new opcodes in a painless
and reliable way.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp