Tests: Add usage and tests for previous commit.

This commit is contained in:
John Kessenich
2018-04-17 17:44:11 -06:00
parent fccbb8b40a
commit 2ead40ffa8
6 changed files with 60 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
compoundsuffix.frag.hlsl
// Module Version 10000
// Generated by (magic number): 80006
// Id's are bound by 21
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 20
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "main"
Name 20 "fragColor"
Decorate 20(fragColor) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
13: 6(float) Constant 1065353216
14: 7(fvec4) ConstantComposite 13 13 13 13
19: TypePointer Output 7(fvec4)
20(fragColor): 19(ptr) Variable Output
4(main): 2 Function None 3
5: Label
Store 20(fragColor) 14
Return
FunctionEnd

View File

@@ -0,0 +1,15 @@
compoundsuffix.vert.glsl
Shader version: 100
0:? Sequence
0:1 Function Definition: main( ( global void)
0:1 Function Parameters:
0:3 Sequence
0:3 move second child to first child ( temp highp 4-component vector of float)
0:3 'gl_Position' ( gl_Position highp 4-component vector of float Position)
0:3 Constant:
0:3 1.000000
0:3 1.000000
0:3 1.000000
0:3 1.000000
0:? Linker Objects