intel/compiler: fix first_component for 64-bit types on vertex inputs
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Jan 2018 08:17:06 +0000 (09:17 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 14 Feb 2018 11:00:14 +0000 (12:00 +0100)
commit4917d383212b45c946a1311fcaeff6f7ab7b80b1
treee3a6fe445696bf125feaa695f37173e6fbe63147
parentad4b58ea70b9d5ed24d891fdf4003027a4ba222b
intel/compiler: fix first_component for 64-bit types on vertex inputs

Divide it by two as we do for other stages. This is because the
component layout qualifier is always in 32-bit units.

Fixes issues in a new CTS test (still WIP):
KHR-GL45.enhanced_layouts.varying_double_components

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/compiler/brw_fs_nir.cpp