nir/linker: Set the uniform initial values
authorNeil Roberts <nroberts@igalia.com>
Fri, 23 Feb 2018 16:09:22 +0000 (17:09 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 21 Jun 2018 12:25:05 +0000 (14:25 +0200)
commit2bf91733fcb5ff8f74d71de03feeb5f3d664d199
tree58f89cb2a4b7557a15c9367fd61afb70c6094b25
parent7a9e5cdfbb99c4f7acd0a4a5910a99a2ce5b6119
nir/linker: Set the uniform initial values

This is based on link_uniform_initializers.cpp.

v2: move from compiler/nir to compiler/glsl (Timothy Arceri)

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/Makefile.sources
src/compiler/glsl/gl_nir_link_uniform_initializers.c [new file with mode: 0644]
src/compiler/glsl/gl_nir_link_uniforms.c
src/compiler/glsl/gl_nir_linker.h
src/compiler/glsl/meson.build