mesa/src/asahi
Alyssa Rosenzweig 5fd8ae1541 asahi: Identify depth clip mode bit
Setting this bit (at the batch level, not the draw level!) switches to
[-1, 1] clipping instead of Metal's preferred [0, 1] clipping. Using
this bit allows us to drop the clip_halfz lowering we had before, saving
2 instructions in every vertex shader.

Fixes dEQP-GLES2.functional.depth_range.*

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17948>
2022-08-14 19:59:19 +00:00
..
compiler asahi: Identify depth clip mode bit 2022-08-14 19:59:19 +00:00
lib asahi: Identify depth clip mode bit 2022-08-14 19:59:19 +00:00
meson.build asahi: Fix meson dependency on packing in compiler 2021-07-06 13:44:50 +00:00