radeonsi: Fix VGPR_BIT() definition.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 19 Apr 2012 17:14:45 +0000 (19:14 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 19 Apr 2012 17:59:54 +0000 (19:59 +0200)
commitdbf48e88eb11270e080eced8468008ed2c3329cc
tree0772e21a3def34af7912e2a7949d895374b369a2
parent09b2cd7ade15755f7375be9704b825e6f606cf25
radeonsi: Fix VGPR_BIT() definition.

Fixes encoding of VOP3 shader instructions.

The shift was wrong for source registers 2 and 3, and the resulting value was
only 32 bits, so the shift in SICodeEmitter::VOPPostEncode() didn't work as
intended.
src/gallium/drivers/radeon/SICodeEmitter.cpp