mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
v3dv: add dummy implementations for the packet definition generator
For now we are only interested in being able to include the header file for format definitions, so this is enough. When we start actually emitting packets we will need to provide proper hooks. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
8d9772f6a7
commit
9cc736f5aa
1 changed files with 9 additions and 0 deletions
|
|
@ -56,6 +56,15 @@
|
|||
#include "vk_alloc.h"
|
||||
#include "simulator/v3d_simulator.h"
|
||||
|
||||
/* FIXME: hooks for the packet definition functions. */
|
||||
static inline void
|
||||
pack_emit_reloc(void *cl, const void *reloc) {}
|
||||
|
||||
#define __gen_user_data char
|
||||
#define __gen_address_type char
|
||||
#define __gen_emit_reloc pack_emit_reloc
|
||||
#define __gen_address_offset(reloc) (0)
|
||||
|
||||
/*
|
||||
* FIXME: confirm value
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue