diff options
author | Rob Clark <[email protected]> | 2019-04-26 11:39:42 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-05-02 11:19:22 -0700 |
commit | a2c89a85f4f69b5eacc8052d6cc4f4efd07a1294 (patch) | |
tree | aba9d002484b8846cacd52d5fc0153096a8c4bd4 /.gitattributes | |
parent | 691d5a825a633fea81af9f83828d5d526ac6b22d (diff) |
nir: fix lower_wpos_ytransform in load_frag_coord case
Apparently we never hit this path. Or at least haven't for a rather
long time. But in either case (load_deref or load_frag_coord), we can
just directly use the intrinsic's ssa dest. So stop passing the
nir_variable (which would be NULL in the load_frag_coord case) around
and instead just use &intr->dest.ssa.
(This ofc means we need to setup the cursor to insert *after* the
instruction, which seems to be another bug of the original
implementation.)
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions