i965: Allow VS MOVs to use immediate constants.

Clarifies program assembly, and with a little tweak to always use
constant_map, we could cut down on constant buffer payload.
This commit is contained in:
Eric Anholt
2010-07-26 04:20:33 -07:00
parent 0bebdc230f
commit 941b893032
+1
View File
@@ -44,6 +44,7 @@ static GLboolean
brw_vs_arg_can_be_immediate(enum prog_opcode opcode, int arg)
{
int opcode_array[] = {
[OPCODE_MOV] = 1,
[OPCODE_ADD] = 2,
[OPCODE_CMP] = 3,
[OPCODE_DP3] = 2,