Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
d35c02be
Commit
d35c02be
authored
7 years ago
by
Józef Kucia
Browse files
Options
Downloads
Patches
Plain Diff
tests: Remove vertex shader SPIR-V code from init_draw_test_context_().
parent
9948abda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/d3d12.c
+2
-48
2 additions, 48 deletions
tests/d3d12.c
with
2 additions
and
48 deletions
tests/d3d12.c
+
2
−
48
View file @
d35c02be
...
...
@@ -471,7 +471,7 @@ static bool init_draw_test_context_(unsigned int line, struct draw_test_context
ID3D12Device
*
device
;
HRESULT
hr
;
static
const
DWORD
dxbc_
vs_code
[]
=
static
const
DWORD
vs_code
[]
=
{
#if 0
void main(uint id : SV_VertexID, out float4 position : SV_Position)
...
...
@@ -494,52 +494,6 @@ static bool init_draw_test_context_(unsigned int line, struct draw_test_context
0x00000000
,
0x00000000
,
0x08000036
,
0x001020c2
,
0x00000000
,
0x00004002
,
0x00000000
,
0x00000000
,
0x00000000
,
0x3f800000
,
0x0100003e
,
};
static
const
DWORD
spv_vs_code
[]
=
{
#if 0
#version 450 core
void main()
{
uint id = gl_VertexIndex;
vec2 coords = vec2((id << 1) & 2, id & 2);
gl_Position = vec4(coords * vec2(2, -2) + vec2(-1, 1), 0, 1);
}
#endif
0x07230203
,
0x00010000
,
0x00080001
,
0x00000032
,
0x00000000
,
0x00020011
,
0x00000001
,
0x0006000b
,
0x00000001
,
0x4c534c47
,
0x6474732e
,
0x3035342e
,
0x00000000
,
0x0003000e
,
0x00000000
,
0x00000001
,
0x0007000f
,
0x00000000
,
0x00000004
,
0x6e69616d
,
0x00000000
,
0x0000000b
,
0x00000021
,
0x00040047
,
0x0000000b
,
0x0000000b
,
0x0000002a
,
0x00050048
,
0x0000001f
,
0x00000000
,
0x0000000b
,
0x00000000
,
0x00050048
,
0x0000001f
,
0x00000001
,
0x0000000b
,
0x00000001
,
0x00050048
,
0x0000001f
,
0x00000002
,
0x0000000b
,
0x00000003
,
0x00050048
,
0x0000001f
,
0x00000003
,
0x0000000b
,
0x00000004
,
0x00030047
,
0x0000001f
,
0x00000002
,
0x00020013
,
0x00000002
,
0x00030021
,
0x00000003
,
0x00000002
,
0x00040015
,
0x00000006
,
0x00000020
,
0x00000000
,
0x00040020
,
0x00000007
,
0x00000007
,
0x00000006
,
0x00040015
,
0x00000009
,
0x00000020
,
0x00000001
,
0x00040020
,
0x0000000a
,
0x00000001
,
0x00000009
,
0x0004003b
,
0x0000000a
,
0x0000000b
,
0x00000001
,
0x00030016
,
0x0000000e
,
0x00000020
,
0x00040017
,
0x0000000f
,
0x0000000e
,
0x00000002
,
0x00040020
,
0x00000010
,
0x00000007
,
0x0000000f
,
0x0004002b
,
0x00000009
,
0x00000013
,
0x00000001
,
0x0004002b
,
0x00000006
,
0x00000015
,
0x00000002
,
0x00040017
,
0x0000001c
,
0x0000000e
,
0x00000004
,
0x0004002b
,
0x00000006
,
0x0000001d
,
0x00000001
,
0x0004001c
,
0x0000001e
,
0x0000000e
,
0x0000001d
,
0x0006001e
,
0x0000001f
,
0x0000001c
,
0x0000000e
,
0x0000001e
,
0x0000001e
,
0x00040020
,
0x00000020
,
0x00000003
,
0x0000001f
,
0x0004003b
,
0x00000020
,
0x00000021
,
0x00000003
,
0x0004002b
,
0x00000009
,
0x00000022
,
0x00000000
,
0x0004002b
,
0x0000000e
,
0x00000024
,
0x40000000
,
0x0004002b
,
0x0000000e
,
0x00000025
,
0xc0000000
,
0x0005002c
,
0x0000000f
,
0x00000026
,
0x00000024
,
0x00000025
,
0x0004002b
,
0x0000000e
,
0x00000028
,
0xbf800000
,
0x0004002b
,
0x0000000e
,
0x00000029
,
0x3f800000
,
0x0005002c
,
0x0000000f
,
0x0000002a
,
0x00000028
,
0x00000029
,
0x0004002b
,
0x0000000e
,
0x0000002c
,
0x00000000
,
0x00040020
,
0x00000030
,
0x00000003
,
0x0000001c
,
0x00050036
,
0x00000002
,
0x00000004
,
0x00000000
,
0x00000003
,
0x000200f8
,
0x00000005
,
0x0004003b
,
0x00000007
,
0x00000008
,
0x00000007
,
0x0004003b
,
0x00000010
,
0x00000011
,
0x00000007
,
0x0004003d
,
0x00000009
,
0x0000000c
,
0x0000000b
,
0x0004007c
,
0x00000006
,
0x0000000d
,
0x0000000c
,
0x0003003e
,
0x00000008
,
0x0000000d
,
0x0004003d
,
0x00000006
,
0x00000012
,
0x00000008
,
0x000500c4
,
0x00000006
,
0x00000014
,
0x00000012
,
0x00000013
,
0x000500c7
,
0x00000006
,
0x00000016
,
0x00000014
,
0x00000015
,
0x00040070
,
0x0000000e
,
0x00000017
,
0x00000016
,
0x0004003d
,
0x00000006
,
0x00000018
,
0x00000008
,
0x000500c7
,
0x00000006
,
0x00000019
,
0x00000018
,
0x00000015
,
0x00040070
,
0x0000000e
,
0x0000001a
,
0x00000019
,
0x00050050
,
0x0000000f
,
0x0000001b
,
0x00000017
,
0x0000001a
,
0x0003003e
,
0x00000011
,
0x0000001b
,
0x0004003d
,
0x0000000f
,
0x00000023
,
0x00000011
,
0x00050085
,
0x0000000f
,
0x00000027
,
0x00000023
,
0x00000026
,
0x00050081
,
0x0000000f
,
0x0000002b
,
0x00000027
,
0x0000002a
,
0x00050051
,
0x0000000e
,
0x0000002d
,
0x0000002b
,
0x00000000
,
0x00050051
,
0x0000000e
,
0x0000002e
,
0x0000002b
,
0x00000001
,
0x00070050
,
0x0000001c
,
0x0000002f
,
0x0000002d
,
0x0000002e
,
0x0000002c
,
0x00000029
,
0x00050041
,
0x00000030
,
0x00000031
,
0x00000021
,
0x00000022
,
0x0003003e
,
0x00000031
,
0x0000002f
,
0x000100fd
,
0x00010038
,
};
static
const
DWORD
ps_code
[]
=
{
#if 0
...
...
@@ -629,7 +583,7 @@ static bool init_draw_test_context_(unsigned int line, struct draw_test_context
memset
(
&
pipeline_state_desc
,
0
,
sizeof
(
pipeline_state_desc
));
pipeline_state_desc
.
pRootSignature
=
context
->
root_signature
;
pipeline_state_desc
.
VS
=
SHADER_BYTECODE
(
dxbc_
vs_code
,
s
pv_
vs_code
);
pipeline_state_desc
.
VS
=
shader_bytecode
(
vs_code
,
s
izeof
(
vs_code
)
)
;
pipeline_state_desc
.
PS
=
shader_bytecode
(
ps_code
,
sizeof
(
ps_code
));
pipeline_state_desc
.
StreamOutput
.
RasterizedStream
=
0
;
pipeline_state_desc
.
BlendState
.
RenderTarget
[
0
].
RenderTargetWriteMask
=
D3D12_COLOR_WRITE_ENABLE_ALL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment