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
Rhys Perry
mesa
Commits
ec8da5da
Commit
ec8da5da
authored
May 17, 2021
by
Rhys Perry
Browse files
DO NOT PUSH: use prologs for static vs input state
parent
92232459
Pipeline
#789117
waiting for manual action with stages
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/amd/vulkan/radv_device.c
View file @
ec8da5da
...
...
@@ -3301,7 +3301,7 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
bool
custom_border_colors
=
false
;
bool
attachment_vrs_enabled
=
false
;
bool
image_float32_atomics
=
false
;
bool
vs_prologs
=
fals
e
;
bool
vs_prologs
=
tru
e
;
bool
global_bo_list
=
false
;
bool
image_2d_view_of_3d
=
false
;
bool
primitives_generated_query
=
false
;
...
...
src/amd/vulkan/radv_pipeline.c
View file @
ec8da5da
...
...
@@ -4227,7 +4227,7 @@ radv_lower_vs_input(nir_shader *nir, const struct radv_pipeline_key *pipeline_ke
nir_function_impl
*
impl
=
nir_shader_get_entrypoint
(
nir
);
bool
progress
=
false
;
if
(
pipeline_key
->
vs
.
dynamic_input_state
)
if
(
1
||
pipeline_key
->
vs
.
dynamic_input_state
)
return
false
;
nir_builder
b
;
...
...
src/amd/vulkan/radv_shader_info.c
View file @
ec8da5da
...
...
@@ -468,7 +468,7 @@ radv_nir_shader_info_pass(struct radv_device *device, const struct nir_shader *n
}
if
(
nir
->
info
.
stage
==
MESA_SHADER_VERTEX
)
{
if
(
pipeline_key
->
vs
.
dynamic_input_state
&&
nir
->
info
.
inputs_read
)
{
if
(
nir
->
info
.
inputs_read
)
{
info
->
vs
.
has_prolog
=
true
;
info
->
vs
.
dynamic_inputs
=
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