mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
asahi: Don't redefine MIN2/MAX2
The tiling function was written before the Mesa driver... Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14903>
This commit is contained in:
parent
570004175f
commit
65368d2f9a
1 changed files with 1 additions and 3 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "util/macros.h"
|
||||
#include "tiling.h"
|
||||
|
||||
/* Z-order with 64x64 tiles:
|
||||
|
|
@ -61,9 +62,6 @@
|
|||
/* mask of bits used for X coordinate in a tile */
|
||||
#define SPACE_MASK 0x555 // 0b010101010101
|
||||
|
||||
#define MAX2(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#define MIN2(x, y) (((x) < (y)) ? (x) : (y))
|
||||
|
||||
static uint32_t
|
||||
agx_space_bits(unsigned x)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue