Fix const parameter debug types
Constant qualified parameter types were not being correctly added to the DebugTypeFunction instruction. Fix #3095.
This commit is contained in:
parent
f9b760e6c7
commit
bec8359bf7
4 changed files with 115 additions and 7 deletions
14
Test/spv.debuginfo.const_params.glsl.comp
Normal file
14
Test/spv.debuginfo.const_params.glsl.comp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#version 450
|
||||
|
||||
void function(
|
||||
const float f,
|
||||
const vec2 f2,
|
||||
const vec3 f3,
|
||||
const vec4 f4)
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
function(0, vec2(0), vec3(0), vec4(0));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue