OSDN Git Service

i965: Reorder sources of the untyped atomic opcode.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 19 Mar 2015 13:12:01 +0000 (15:12 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 4 May 2015 12:05:20 +0000 (15:05 +0300)
commitc97a7705ea61f0d1e78bcfe91c0c8e05c79b45cb
tree5c56d5fb53aa82e2e85fbad7d65bb15bce8ed0c3
parentac747ca5f72332b1ff97041cc808be551596a26f
i965: Reorder sources of the untyped atomic opcode.

This is consistent with the untyped surface read opcode.  From now on
all typed and untyped surface access opcodes will follow the same
pattern: src[0] will be the message payload, src[1] will be the
surface index and src[2] will be a control immediate (atomic operation
for atomic opcodes and number of vector components for surface read
and write opcodes).

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp