HLSL: Error if funcion with return type doesn't return a value.
This commit is contained in:
parent
1a4b775cd5
commit
a305166ea4
15 changed files with 73 additions and 53 deletions
|
|
@ -2,7 +2,7 @@ hlsl.attribute.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:2 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
|
||||
0:2 Function Definition: PixelShaderFunction(vf4; (global void)
|
||||
0:2 Function Parameters:
|
||||
0:2 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? Sequence
|
||||
|
|
@ -20,7 +20,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:2 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
|
||||
0:2 Function Definition: PixelShaderFunction(vf4; (global void)
|
||||
0:2 Function Parameters:
|
||||
0:2 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? Sequence
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue