summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-10-08 11:13:00 -0700
committerEmil Velikov <[email protected]>2015-10-21 14:23:20 +0100
commit3b238aa08f527838f64d5880e6b017ba6b86cd2b (patch)
tree0fb2ba98d3d71dee08396c0e2b62957406fa0adb /src/glsl
parentcd6ff70856f939bd1c1fbe3e5fb09a114e6f164d (diff)
ff_fragment_shader: Use binding to set the sampler unit
This is the way layout(binding=xxx) works from GLSL. The old method just happened to work (and significantly predated support for layout(binding=xxx)), but future changes will break this. v2: Remove some stale comments. Suggested by Matt and Chris Forbes. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> Cc: "10.6 11.0" <[email protected]> (cherry picked from commit 8acce5d53af44a3d1d05a26e69559fd35f835de4)
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions