i965: get PrimitiveMode from the program rather than the shader struct
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 20 Jun 2016 07:40:23 +0000 (17:40 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 21 Jun 2016 02:43:18 +0000 (12:43 +1000)
commit644e015f0b9236e955d679cac4bcc7a1523fc475
treed25340fb0c32bf0bc20868bfba4d1a6f8efff0f6
parent82e0bbd01abfb2073519941d9893fa6ac05fb58c
i965: get PrimitiveMode from the program rather than the shader struct

This is more consistent with what we do elsewhere and will allow
us to only cache one of the values in the shader cache.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_tcs.c