diff options
author | Connor Abbott <[email protected]> | 2019-05-13 15:32:26 +0200 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-07-08 14:14:53 +0200 |
commit | 64f3fc5ea6a0487e553fe1bfedacff3c3697ab54 (patch) | |
tree | 7675de37dbde6a6e5e5ef8dc8da5a7be935edcdb /src/amd/vulkan/radv_meta_resolve_fs.c | |
parent | e41e932e57ecf0e1d4dffa784f2f9a0fe0cd86e8 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_resolve_fs.c')
0 files changed, 0 insertions, 0 deletions