tgsi: fix buffer overflow
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 13 Apr 2016 01:06:05 +0000 (03:06 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Apr 2016 01:51:34 +0000 (11:51 +1000)
commitb89708f95fafc458cc79bc210407b723a0f0f78c
tree3b278ade776458083888ce4eb0843318ea94226c
parentb9294bc3452737914e2528775b3ae2099ab74110
tgsi: fix buffer overflow

Increase r to four channels as rgba is written to it
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c