OSDN Git Service

glsl: binding point is a texture unit, which is a combined space
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 23 Jun 2015 04:16:59 +0000 (00:16 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 1 Jul 2015 14:22:39 +0000 (15:22 +0100)
commit54ac5920094806def6a8f9a4d13231020daf639b
treedee6d5836205303a3febee5a15d3461c44e09657
parent7b528f0d78ef88f0b90b11c7b3b17ee127a9a391
glsl: binding point is a texture unit, which is a combined space

This fixes compilation failures in Dota 2 Reborn where a texture unit
binding point was used that was numerically higher than the max
per stage.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
Tested-by: Nick Sarnie <commendsarnex@gmail.com>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit fccf012adc0d3aad877de095244324aa1d2d046a)
src/glsl/ast_to_hir.cpp