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:
Eric Anholt 2015-02-11 15:08:02 -08:00
parent 90b4bf2e6e
commit bef38f62e0
3 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -26,6 +26,7 @@
*/
#include "nir.h"
#include "main/config.h"
#include <assert.h>
/*

View file

@ -26,6 +26,7 @@
*/
#include "nir.h"
#include "main/mtypes.h"
static void
convert_instr(nir_intrinsic_instr *instr)