diff options
author | Kristian H. Kristensen <[email protected]> | 2019-03-25 14:12:41 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-03-25 18:36:48 -0700 |
commit | a752422bd42db4f4c445753657afea2d47988952 (patch) | |
tree | 2525e462901ffe3da87103463346392231d3b29c /src/mapi | |
parent | 12f11e6fe690b14cf1855fcf183cf16a14718ae8 (diff) |
freedreno/ir3: Track whether shader needs derivatives
In 1088b788 ("freedreno/ir3: find # of samplers from uniform vars") we
started counting number of samplers based on the uniform vars instead
of number of cat5 instructions. We used the number of samplers to
determine whether to enable derivatives, but when we only use
derivatives and no samplers, that now breaks. Track whether we need
derivatives explicitly and use that to enable the state.
Fixes: 1088b788 ("freedreno/ir3: find # of samplers from uniform vars")
Signed-off-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions