HLSL: Emit the OpSource HLSL instruction for HLSL, using new headers.

This commit is contained in:
John Kessenich
2017-04-07 15:33:08 -06:00
parent 7962bda334
commit 6fa17641b5
214 changed files with 611 additions and 433 deletions

View File

@@ -1,5 +1,5 @@
hlsl.basic.geom
Shader version: 450
Shader version: 500
invocations = -1
max_vertices = 4
input primitive = triangles
@@ -74,7 +74,7 @@ output primitive = line_strip
Linked geometry stage:
Shader version: 450
Shader version: 500
invocations = 1
max_vertices = 4
input primitive = triangles
@@ -157,6 +157,7 @@ output primitive = line_strip
ExecutionMode 4 Invocations 1
ExecutionMode 4 OutputLineStrip
ExecutionMode 4 OutputVertices 4
Source HLSL 500
Name 4 "main"
Name 12 "PSInput"
MemberName 12(PSInput) 0 "myfloat"