Change binding auto-map to use provided offsets.
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Sat, 1 Oct 2016 17:27:43 +0000 (11:27 -0600)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Sat, 1 Oct 2016 17:40:43 +0000 (11:40 -0600)
commit088c59d7ea43af1a07c3e9a5b798cb083b78d796
treee349b47fbdcc06674e30d3417d3c30478635ddf1
parent074ced3e0034389d52ccce4a51747d77a236d446
Change binding auto-map to use provided offsets.

Previously, the binding auto-mapping facility was free to use any unused
binding.  This change makes auto-bindings use the same offset value as
explicit bindings.
Test/baseResults/spv.buffer.autoassign.frag.out
Test/baseResults/spv.glsl.register.autoassign.frag.out
Test/baseResults/spv.register.autoassign.frag.out
glslang/MachineIndependent/iomapper.cpp
gtests/Spv.FromFile.cpp