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
c73b2011
Commit
c73b2011
authored
7 years ago
by
Józef Kucia
Browse files
Options
Downloads
Patches
Plain Diff
libs/vkd3d-shader: Do not print FIXMEs for known global flags.
parent
28285d2f
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
libs/vkd3d-shader/spirv.c
+12
-0
12 additions, 0 deletions
libs/vkd3d-shader/spirv.c
with
12 additions
and
0 deletions
libs/vkd3d-shader/spirv.c
+
12
−
0
View file @
c73b2011
...
...
@@ -2211,6 +2211,15 @@ static uint32_t vkd3d_dxbc_compiler_emit_output(struct vkd3d_dxbc_compiler *comp
return
id
;
}
static
void
vkd3d_dxbc_compiler_emit_dcl_global_flags
(
struct
vkd3d_dxbc_compiler
*
compiler
,
const
struct
vkd3d_shader_instruction
*
instruction
)
{
if
(
instruction
->
flags
&
~
(
VKD3DSGF_REFACTORING_ALLOWED
|
VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS
))
FIXME
(
"Unrecognized global flags %#x.
\n
"
,
instruction
->
flags
);
else
WARN
(
"Unhandled global flags %#x.
\n
"
,
instruction
->
flags
);
}
static
void
vkd3d_dxbc_compiler_emit_dcl_temps
(
struct
vkd3d_dxbc_compiler
*
compiler
,
const
struct
vkd3d_shader_instruction
*
instruction
)
{
...
...
@@ -3317,6 +3326,9 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
{
switch
(
instruction
->
handler_idx
)
{
case
VKD3DSIH_DCL_GLOBAL_FLAGS
:
vkd3d_dxbc_compiler_emit_dcl_global_flags
(
compiler
,
instruction
);
break
;
case
VKD3DSIH_DCL_TEMPS
:
vkd3d_dxbc_compiler_emit_dcl_temps
(
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