i965: take care of doubles when lowering VS inputs
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 15 Apr 2016 10:51:05 +0000 (12:51 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 17 May 2016 07:05:55 +0000 (09:05 +0200)
commitd6281a9d955ad97f993927bc214e4b641cfbe359
tree9a0403682f4beea33edf9ec1f382b04ff121ee1e
parent7ea09511ca4f58640063cc1ee08386cce5300535
i965: take care of doubles when lowering VS inputs

Input attributes can require 2 vec4 or 1 vec4 depending on whether they
are double-precision or not.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_shader.h