mesa/src/broadcom/vulkan
Alejandro Piñeiro 6e0cec5a13 v3dv/pipeline: iterate used textures using the combined index map
So far we were using nir->data.num_textures to fill the default values
for the textures used on the shader, and set the value for the number
of textures used.

But nir->data.num_textures doesn't take into account input
attachments, even after nir_lower_input_attachments. Although that
could make sense from a general pov, in our case we are treating input
attachments mostly as textures.

This commit count the number of textures interating through the
pipeline combined index map, as it includes both. This also makes the
populate of the shader key for default values more similar to the one
done at cmd_buffer with real values.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:31 +00:00
..
.dir-locals.el
.editorconfig
meson.build v3dv: implement occlusion queries 2020-10-13 21:21:29 +00:00
v3d_tiling.c v3dv: implement vkCreateImage 2020-10-13 21:21:25 +00:00
v3dv_bo.c v3dv/bo: add dump stats info 2020-10-13 21:21:31 +00:00
v3dv_bo.h v3dv/bo: adding a BO cache 2020-10-13 21:21:31 +00:00
v3dv_cl.c v3dv/bo: adding a BO cache 2020-10-13 21:21:31 +00:00
v3dv_cl.h v3dv/descriptor: use descriptor pool bo for image/samplers 2020-10-13 21:21:30 +00:00
v3dv_cmd_buffer.c v3dv: pipeline initialization fixes for disabled rasterization 2020-10-13 21:21:31 +00:00
v3dv_debug.c v3dv/debug: add v3dv_debug 2020-10-13 21:21:25 +00:00
v3dv_debug.h v3dv/debug: add v3dv_debug 2020-10-13 21:21:25 +00:00
v3dv_descriptor_set.c v3dv: handle unsized arrays in SSBOs 2020-10-13 21:21:31 +00:00
v3dv_device.c v3dv: don't free BOs from imported memory objects 2020-10-13 21:21:31 +00:00
v3dv_entrypoints_gen.py
v3dv_extensions.py v3dv: hook up WSI support 2020-10-13 21:21:26 +00:00
v3dv_extensions_gen.py
v3dv_formats.c v3dv: implement stencil aspect blits for combined depth/stencil format 2020-10-13 21:21:30 +00:00
v3dv_icd.py
v3dv_image.c v3dv/descriptor: use descriptor pool bo for image/samplers 2020-10-13 21:21:30 +00:00
v3dv_meta_clear.c v3dv: fix release build warnings 2020-10-13 21:21:31 +00:00
v3dv_meta_copy.c v3dv/bo: adding a BO cache 2020-10-13 21:21:31 +00:00
v3dv_pass.c v3dv: compute tile granularity for each subpass 2020-10-13 21:21:29 +00:00
v3dv_pipeline.c v3dv/pipeline: iterate used textures using the combined index map 2020-10-13 21:21:31 +00:00
v3dv_pipeline_cache.c v3dv: add stubs for missing API implementations 2020-10-13 21:21:30 +00:00
v3dv_private.h v3dv: don't free BOs from imported memory objects 2020-10-13 21:21:31 +00:00
v3dv_query.c v3dv/bo: adding a BO cache 2020-10-13 21:21:31 +00:00
v3dv_queue.c v3dv: implement indirect compute dispatch 2020-10-13 21:21:31 +00:00
v3dv_uniforms.c v3dv: implement indirect compute dispatch 2020-10-13 21:21:31 +00:00
v3dv_util.c
v3dv_wsi.c v3dv: rename drm device fields so they are more explict 2020-10-13 21:21:26 +00:00
v3dv_wsi_x11.c v3dv: hook up WSI support 2020-10-13 21:21:26 +00:00
vk_format_info.h v3dv: handle copies from/to compressed formats 2020-10-13 21:21:30 +00:00