panfrost: Remove mali_alt_func
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 27 Dec 2019 17:56:03 +0000 (12:56 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 27 Dec 2019 17:58:00 +0000 (12:58 -0500)
commitde077c20788e9cccd0efe5765bbafe2cf881eb5c
tree1a1bfbecbf59960cfe646c934c4a74b35815e403
parentbc1fc29e2119bfceeacaa303a5f79f9bb99d1af7
panfrost: Remove mali_alt_func

There's only one way to encode comparison functions in the command
stream, not two. It's just that the semantics for texture comparisons
are flipped from the semantics of stencil comparison. We can factor out
that flip to common Panfrost code, rather than tying it to a second
Gallium routine.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c
src/panfrost/Makefile.sources
src/panfrost/encoder/meson.build
src/panfrost/encoder/pan_encoder.h
src/panfrost/encoder/pan_sampler.c [new file with mode: 0644]
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c