diff options
author | Kenneth Graunke <[email protected]> | 2019-01-31 21:52:50 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-05 13:51:51 -0800 |
commit | 536abd453bfedd4a424d94f4559371fd38cfaa7b (patch) | |
tree | 91221e567bb1cd2d2309d5f12ef53a5b1a181ae4 /src/hgl | |
parent | fa38ca25f6ab5ce55450442d01791dd68f0a90f4 (diff) |
program: Extend prog_to_nir handle system values.
Some drivers, such as radeonsi, use a system value for gl_FragCoord
rather than an input variable. In this case, our Mesa IR will have
a PROGRAM_SYSTEM_VALUE register, which we need to translate.
This makes prog_to_nir work for Gallium drivers which expose the
PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL capability bit.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions