Fix const parameter debug types
authorJeremy Hayes <jeremy@lunarg.com>
Wed, 21 Dec 2022 21:20:44 +0000 (14:20 -0700)
committerJeremy Hayes <jeremy@lunarg.com>
Wed, 21 Dec 2022 21:20:44 +0000 (14:20 -0700)
commitbec8359bf7e22c7106b87f2356ef4a5571489861
tree0b0248b4c52d452019b73a0bc80f21e213ab607a
parentf9b760e6c73bca9cba4b8a7e8d18993b89d62dd4
Fix const parameter debug types

Constant qualified parameter types were not being correctly added to
the DebugTypeFunction instruction.

Fix #3095.
SPIRV/SpvBuilder.cpp
Test/baseResults/spv.debuginfo.const_params.glsl.comp.out [new file with mode: 0644]
Test/spv.debuginfo.const_params.glsl.comp [new file with mode: 0644]
gtests/Spv.FromFile.cpp