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:
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));
|
||||
}
|
||||
Reference in New Issue
Block a user