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
18e952aa
Commit
18e952aa
authored
7 years ago
by
Józef Kucia
Browse files
Options
Downloads
Patches
Plain Diff
libs/vkd3d-shader: Translate dcl_output_siv instruction.
parent
07615682
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/vkd3d-shader/spirv.c
+10
-0
10 additions, 0 deletions
libs/vkd3d-shader/spirv.c
with
10 additions
and
0 deletions
libs/vkd3d-shader/spirv.c
+
10
−
0
View file @
18e952aa
...
...
@@ -883,6 +883,13 @@ static void vkd3d_dxbc_compiler_emit_dcl_output(struct vkd3d_dxbc_compiler *comp
vkd3d_dxbc_compiler_emit_output
(
compiler
,
&
instruction
->
declaration
.
dst
,
VKD3D_SIV_NONE
);
}
static
void
vkd3d_dxbc_compiler_emit_dcl_output_siv
(
struct
vkd3d_dxbc_compiler
*
compiler
,
const
struct
vkd3d_shader_instruction
*
instruction
)
{
vkd3d_dxbc_compiler_emit_output
(
compiler
,
&
instruction
->
declaration
.
dst
,
instruction
->
declaration
.
register_semantic
.
sysval_semantic
);
}
static
void
vkd3d_dxbc_compiler_emit_dcl_thread_group
(
struct
vkd3d_dxbc_compiler
*
compiler
,
const
struct
vkd3d_shader_instruction
*
instruction
)
{
...
...
@@ -909,6 +916,9 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
case
VKD3DSIH_DCL_OUTPUT
:
vkd3d_dxbc_compiler_emit_dcl_output
(
compiler
,
instruction
);
break
;
case
VKD3DSIH_DCL_OUTPUT_SIV
:
vkd3d_dxbc_compiler_emit_dcl_output_siv
(
compiler
,
instruction
);
break
;
case
VKD3DSIH_DCL_THREAD_GROUP
:
vkd3d_dxbc_compiler_emit_dcl_thread_group
(
compiler
,
instruction
);
break
;
...
...
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