commit | bb5d5029b7423d4ffe3b84149b2bc6a770647ef2 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Fri Oct 30 12:30:09 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Nov 03 22:18:28 2020 +0000 |
tree | 3133c0e256cc8105c570c4b74a53143e646c8e87 | |
parent | 5664713d7b99b99dcee1d009ef6e5b105a2d65ee [diff] |
nir: Use var->data.mode instead of deref->mode in a few cases We already have the variable so we know the mode exactly. Just use that instead of the deref mode. If these paths ever have to handle variable pointers (not likely since they're OpenGL-specific), we can fix them to handle crazy deref modes then. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6332>