panfrost: Simplify draw_flags
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 22 Nov 2019 16:45:13 +0000 (11:45 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Tue, 3 Dec 2019 04:25:04 +0000 (04:25 +0000)
commit6ddaa5558a66415d6f144bd4609324832c3466fb
tree3a4b13854b7640393ef8a02da5fa2778ff21ad29
parent9fb0904712a5d64ecd012f65dfda4f36819716d9
panfrost: Simplify draw_flags

Fixes dEQP-GLES3.functional.primitive_restart.*. Note the 0x18000 value
is accidentally somehow enabling primitive restart for some reason.
I'm not sure where this value came from but let's not.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/pan_context.c