r300g: remove the hack with OPCODE_RET
authorMarek Olšák <maraeo@gmail.com>
Tue, 16 Nov 2010 21:19:47 +0000 (22:19 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 16 Nov 2010 21:39:27 +0000 (22:39 +0100)
commitb6e2c32626551791a33433913dfb4401f8c67cf4
tree23a0083a7cdf2f87073e898d2b19180f731c428c
parent2d2d6a80c14612de683001d24cbbbb9a8f620dd5
r300g: remove the hack with OPCODE_RET

RET was interpreted as END, which was wrong. Instead, if a shader contains RET
in the main function, it will fail to compile with an error message
from now on.

The hack is from early days.
src/gallium/drivers/r300/r300_tgsi_to_rc.c