midgard: Reformat code

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29372>
This commit is contained in:
Mary Guillemard
2024-05-24 10:33:54 +02:00
parent 547308990d
commit 01ea55b44c
2 changed files with 3 additions and 3 deletions

View File

@@ -389,13 +389,13 @@ midgard_unpack_varying_params(midgard_load_store_word word);
* displacement bitsize. */
#define UNPACK_LDST_ATTRIB_OFS(a) ((a) >> 9)
#define UNPACK_LDST_VERTEX_OFS(a) util_sign_extend((a)&0x1FF, 9)
#define UNPACK_LDST_VERTEX_OFS(a) util_sign_extend((a) & 0x1FF, 9)
#define UNPACK_LDST_SELECTOR_OFS(a) ((a) >> 9)
#define UNPACK_LDST_UBO_OFS(a) ((a) >> 2)
#define UNPACK_LDST_MEM_OFS(a) ((a))
#define PACK_LDST_ATTRIB_OFS(a) ((a) << 9)
#define PACK_LDST_VERTEX_OFS(a) ((a)&0x1FF)
#define PACK_LDST_VERTEX_OFS(a) ((a) & 0x1FF)
#define PACK_LDST_SELECTOR_OFS(a) ((a) << 9)
#define PACK_LDST_UBO_OFS(a) ((a) << 2)
#define PACK_LDST_MEM_OFS(a) ((a))

View File

@@ -31,8 +31,8 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "compiler/glsl_types.h"
#include "compiler/glsl/glsl_to_nir.h"
#include "compiler/glsl_types.h"
#include "compiler/nir/nir_builder.h"
#include "util/half_float.h"
#include "util/list.h"