mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
panvk: fix vs image support
Since valhall, panvk_per_arch(nir_lower_descriptors) separates the
driver set and the user sets, and does not need pan_lower_image_index.
Fixes: 5db135f66a ("panvk: Advertize v10 support")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32308>
This commit is contained in:
parent
7fa31b7eea
commit
2cbb8467c1
2 changed files with 4 additions and 6 deletions
|
|
@ -496,11 +496,6 @@ dEQP-VK.glsl.limits.near_max.fragment_input.components_124,Fail
|
|||
|
||||
dEQP-VK.info.device_mandatory_features,Fail
|
||||
|
||||
dEQP-VK.memory.pipeline_barrier.host_write_storage_texel_buffer.1024,Fail
|
||||
dEQP-VK.memory.pipeline_barrier.host_write_storage_texel_buffer.65536,Fail
|
||||
dEQP-VK.memory.pipeline_barrier.host_write_storage_texel_buffer.8192,Fail
|
||||
dEQP-VK.memory.pipeline_barrier.transfer_dst_storage_texel_buffer.1024,Fail
|
||||
|
||||
dEQP-VK.pipeline.monolithic.max_varyings.test_vertex_io_between_vertex_fragment,Fail
|
||||
dEQP-VK.pipeline.monolithic.multisample.alpha_to_coverage.samples_4.alpha_invisible,Fail
|
||||
dEQP-VK.pipeline.monolithic.multisample.alpha_to_coverage.samples_4.alpha_invisible_check_depth,Fail
|
||||
|
|
|
|||
|
|
@ -536,7 +536,10 @@ panvk_lower_nir(struct panvk_device *dev, nir_shader *nir,
|
|||
|
||||
pan_shader_preprocess(nir, compile_input->gpu_id);
|
||||
|
||||
if (stage == MESA_SHADER_VERTEX)
|
||||
/* since valhall, panvk_per_arch(nir_lower_descriptors) separates the
|
||||
* driver set and the user sets, and does not need pan_lower_image_index
|
||||
*/
|
||||
if (PAN_ARCH < 9 && stage == MESA_SHADER_VERTEX)
|
||||
NIR_PASS_V(nir, pan_lower_image_index, MAX_VS_ATTRIBS);
|
||||
|
||||
NIR_PASS_V(nir, nir_shader_instructions_pass, panvk_lower_sysvals,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue