mesa/src/compiler/spirv
Connor Abbott 64f3fc5ea6 spirv: Add an option for making FragCoord a sysval
On AMD, FragCoord should be a sysval because it is handled separately
from all the other inputs. We were already doing this in radeonsi, but
we weren't doing it with radv. It'll be much more annoying to handle
VARYING_SLOT_POS in fragment shaders when we let NIR lower FS inputs for
us, so here we add an option so that radv can get it as a system value.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-07-08 14:14:53 +02:00
..
gl_spirv.c spirv: Rename vtn_decoration literals to operands 2019-04-23 14:58:01 -07:00
GLSL.ext.AMD.h spirv: import AMD extensions header from glslang 2018-03-07 23:09:58 +01:00
GLSL.std.450.h spirv: bump headers to SPIRV 1.1 2017-01-25 17:22:23 +00:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
nir_spirv.h spirv: Add an option for making FragCoord a sysval 2019-07-08 14:14:53 +02:00
OpenCL.std.h spirv: Update the OpenCL.std.h header 2019-06-04 12:12:51 -07:00
spirv.core.grammar.json spirv: Update the headers from latest Khronos master 2019-06-04 17:30:51 +00:00
spirv.h spirv: Update the headers from latest Khronos master 2019-06-04 17:30:51 +00:00
spirv2nir.c spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
spirv_info.h spirv: Add more to_string helpers 2019-04-16 11:11:10 -07:00
spirv_info_c.py spirv: Handle instruction aliases in spirv_info_c.py 2019-05-21 11:50:47 -07:00
spirv_to_nir.c spirv: Ignore ArrayStride in OpPtrAccessChain for Workgroup 2019-07-02 12:15:01 -07:00
vtn_alu.c spirv: Implement NoSignedWrap and NoUnsignedWrap decorations 2019-06-26 14:13:02 -07:00
vtn_amd.c nir: Make nir_constant a vector rather than a matrix 2019-06-19 21:05:54 +00:00
vtn_cfg.c spirv: Trivially handle new 1.4 loop controls 2019-05-21 11:52:12 -07:00
vtn_gather_types_c.py spirv: Add a prepass to set types on vtn_values 2017-12-11 22:28:34 -08:00
vtn_glsl450.c nir/builder: Remove the use_fmov parameter from nir_swizzle 2019-05-24 08:38:11 -05:00
vtn_opencl.c spirv: Update the OpenCL.std.h header 2019-06-04 12:12:51 -07:00
vtn_private.h nir: Make nir_constant a vector rather than a matrix 2019-06-19 21:05:54 +00:00
vtn_subgroup.c spirv/nir: add support for AMD_shader_ballot and Groups capability 2019-06-13 12:44:23 +00:00
vtn_variables.c spirv: Add an option for making FragCoord a sysval 2019-07-08 14:14:53 +02:00