mesa/src/compiler
Jason Ekstrand b6543470fe spirv/nir: Set uses_sample_shading from spirv_to_nir
We don't really want to base this on a late nir_gather_info for two
reasons:

 1) The Vulkan spec says that if a sample-qualified input, SampleID, or
    SamplePosition are in the entry-point's interface, you get
    per-sample dispatch.  This means we really should gather this
    information before dead-code has a chance to delete anything.

 2) We want to be able to add nir_intrinsic_load_sample_pos intrinsics
    as part of lowering passes without causing per-sample interpolation.
    This means nir_gather_info needs to stop gathering it.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14020>
2022-07-13 20:28:42 +00:00
..
clc clc: add new feature options for intel_clc 2022-06-27 15:31:49 +00:00
glsl glsl/nir: Set uses_sample_shading from glsl_to_nir 2022-07-13 20:28:42 +00:00
isaspec isaspec: Handle patterns bigger then 64 bit 2022-06-14 12:35:39 +00:00
nir nir: Add a pass for lowering shaders to single-sampled 2022-07-13 20:28:42 +00:00
spirv spirv/nir: Set uses_sample_shading from spirv_to_nir 2022-07-13 20:28:42 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp compiler/types: Don't place members in the previous substruct's end padding 2022-06-09 22:55:37 +00:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir/types: fix glsl_matrix_type_is_row_major() assert 2022-06-30 00:41:46 +00:00
nir_types.h nir/glsl: wrap component_slots_aligned() 2022-05-16 03:33:18 +00:00
shader_enums.c nir+ir3: Rename load_size_ir3 to load_center_rhw_ir3. 2022-07-11 16:56:05 +00:00
shader_enums.h nir+ir3: Rename load_size_ir3 to load_center_rhw_ir3. 2022-07-11 16:56:05 +00:00
shader_info.h shader_info: Move subgroup_size out of cs and make it an enum 2022-07-08 22:47:22 +00:00