mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
nir: Drop dependency on mtypes.h for core NIR.
One less new directory necessary for gallium code that wants to interact with NIR. Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
90b4bf2e6e
commit
bef38f62e0
3 changed files with 5 additions and 1 deletions
|
|
@ -32,7 +32,6 @@
|
|||
#include "GL/gl.h" /* GLenum */
|
||||
#include "util/ralloc.h"
|
||||
#include "util/set.h"
|
||||
#include "main/mtypes.h"
|
||||
#include "util/bitset.h"
|
||||
#include "nir_types.h"
|
||||
#include <stdio.h>
|
||||
|
|
@ -43,6 +42,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct gl_program;
|
||||
struct gl_shader_program;
|
||||
|
||||
#define NIR_FALSE 0u
|
||||
#define NIR_TRUE (~0u)
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "nir.h"
|
||||
#include "main/config.h"
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "nir.h"
|
||||
#include "main/mtypes.h"
|
||||
|
||||
static void
|
||||
convert_instr(nir_intrinsic_instr *instr)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue