Commit b89708f9 authored by Thomas Hindoe Paaboel Andersen's avatar Thomas Hindoe Paaboel Andersen Committed by Dave Airlie

tgsi: fix buffer overflow

Increase r to four channels as rgba is written to it
Reviewed-by: default avatarEdward O'Callaghan <>
Signed-off-by: default avatarDave Airlie <>
parent b9294bc3
......@@ -4011,7 +4011,7 @@ static void
exec_atomop_buf(struct tgsi_exec_machine *mach,
const struct tgsi_full_instruction *inst)
union tgsi_exec_channel r[3];
union tgsi_exec_channel r[4];
union tgsi_exec_channel value[4], value2[4];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment