glsl: Refactor matrix stride calculation into a utility function
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Nov 2017 23:27:53 +0000 (16:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Nov 2017 02:37:29 +0000 (18:37 -0800)
commit24e78d99db177412da0285d5c6ed3c867d6a8adb
treebee1acfc3614f0d4e85fdb94c9feef9143942e20
parent88f5588f777d76fe48fded8add745b4da2024ebc
glsl: Refactor matrix stride calculation into a utility function

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/linker.h