HLSL/SPV: Declare DepthReplacing for shaders declaring SV_Depth* outputs.
diff --git a/Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out b/Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
index 34c334f..5304e5a 100644
--- a/Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
+++ b/Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
@@ -1,6 +1,7 @@
hlsl.samplecmp.basic.dx10.frag
Shader version: 500
gl_FragCoord origin is upper left
+using depth_any
0:? Sequence
0:38 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
@@ -192,6 +193,7 @@
Shader version: 500
gl_FragCoord origin is upper left
+using depth_any
0:? Sequence
0:38 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
@@ -388,6 +390,7 @@
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 155 159
ExecutionMode 4 OriginUpperLeft
+ ExecutionMode 4 DepthReplacing
Source HLSL 500
Name 4 "main"
Name 8 "PS_OUTPUT"