Prevent duplicating global values during specialization (#439)
Prevent duplicating global values during specialization (#439)

* Prevent duplicating global values during specialization.

* Fixup checking code

csyonghe/slang,csyonghe/slang,csyonghe/slang,shader-slang/slang,shader-slang/slang,shader-slang/slang