r600g: Remove intermediate assignment of pipe_draw_info
authorConstantine Kharlamov <Hi-Angel@yandex.ru>
Sun, 26 Mar 2017 15:36:21 +0000 (18:36 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 2 Apr 2017 22:36:25 +0000 (00:36 +0200)
commit807de52054120800b16127a943cea6ad83a7e549
treee9c46735f7e626acb7d54749a3bb4e764a474940
parent4408e1ca53e4dbb1c26a86e9b20eef5fdc7776eb
r600g: Remove intermediate assignment of pipe_draw_info

It removes a need to copy whole struct every call for no reason.  Comparing
objdump -d output for original and this patch compiled with -O2, shows reduce
of the function by 16 bytes.

Signed-off-by: Constantine Kharlamov <Hi-Angel@yandex.ru>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_state_common.c