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)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 23 Jun 2015 16:08:34 +0000 (12:08 -0400)
commitfccf012adc0d3aad877de095244324aa1d2d046a
treee15ae3850165f5cd294922bc8210f6e3b1a34482
parent59f8d4ee793a1b620fb385f53b4dfe10e4b70f19
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>
src/glsl/ast_to_hir.cpp