Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yusuf Khan
mesa
Commits
fa0cc506
Commit
fa0cc506
authored
Nov 09, 2022
by
Yusuf Khan
Browse files
nvk expose EXT_shader_demote_to_helper_invocation
Signed-off-by:
Yusuf Khan
<
yusisamerican@gmail.com
>
parent
b257bb39
Pipeline
#733324
waiting for manual action with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/nouveau/vulkan/nvk_physical_device.c
View file @
fa0cc506
...
...
@@ -402,6 +402,7 @@ nvk_get_device_extensions(const struct nvk_physical_device *pdev,
.
EXT_pci_bus_info
=
true
,
.
EXT_private_data
=
true
,
.
EXT_sample_locations
=
pdev
->
info
.
cls_eng3d
>=
MAXWELL_B
,
.
EXT_shader_demote_to_helper_invocation
=
true
,
.
EXT_vertex_input_dynamic_state
=
true
,
};
}
...
...
src/nouveau/vulkan/nvk_shader.c
View file @
fa0cc506
...
...
@@ -60,6 +60,7 @@ nvk_physical_device_spirv_options(const struct nvk_physical_device *pdevice,
{
return
(
struct
spirv_to_nir_options
)
{
.
caps
=
{
.
demote_to_helper_invocation
=
true
,
.
image_write_without_format
=
true
,
.
physical_storage_buffer_address
=
true
,
},
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment