glsl: fix emit_inline_matrix_constructor for doubles
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Feb 2016 08:16:14 +0000 (09:16 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Feb 2016 13:16:05 +0000 (14:16 +0100)
commit72794b0bd9740d8c6671a9b4c7115540b339b8b4
tree18f6deac1c9c0946896238e0ad61be809c8759ba
parentd1617b4088aafc58affde4e348f66c0d45286735
glsl: fix emit_inline_matrix_constructor for doubles

Specifically, for the case where we initialize a dmat with a source
matrix that has fewer columns/rows.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ast_function.cpp