i965: split EU defines to brw_eu_defines.h
Split out the EU defines from the 'generic' ones, as the former are more compiler oriented. With a later commit we'll move brw_eu_defines.h alongside the compiler infra to src/intel/. Pulling all the defines in there seems overzealous. Some defines are used by both i965 and the i965 compiler. Those are moved to brw_eu_defines.h, and annotated accordingly. The i965 users were updated to have the extre include to indicate that. With future work we might provide a better, split but for now this seems reasonable. Cc: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
a72ac98160
commit
d0d4a5f43b
|
@ -27,7 +27,7 @@
|
|||
#include "util/format_rgb9e5.h"
|
||||
|
||||
#include "blorp_priv.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
|
||||
#include "compiler/nir/nir_builder.h"
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@ i965_compiler_FILES = \
|
|||
brw_compiler.h \
|
||||
brw_dead_control_flow.cpp \
|
||||
brw_dead_control_flow.h \
|
||||
brw_defines.h \
|
||||
brw_disasm.c \
|
||||
brw_eu.c \
|
||||
brw_eu_compact.c \
|
||||
brw_eu_defines.h \
|
||||
brw_eu_emit.c \
|
||||
brw_eu.h \
|
||||
brw_eu_util.c \
|
||||
|
@ -110,6 +110,7 @@ i965_FILES = \
|
|||
brw_cs.c \
|
||||
brw_cs.h \
|
||||
brw_curbe.c \
|
||||
brw_defines.h \
|
||||
brw_draw.c \
|
||||
brw_draw.h \
|
||||
brw_draw_upload.c \
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -24,7 +24,7 @@
|
|||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_inst.h"
|
||||
#include "brw_shader.h"
|
||||
#include "brw_reg.h"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "brw_blorp.h"
|
||||
#include "brw_draw.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_eu.h"
|
||||
#include "brw_shader.h"
|
||||
#include "common/gen_debug.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include "brw_inst.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_reg.h"
|
||||
#include "intel_asm_annotation.h"
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_eu.h"
|
||||
|
||||
#include "util/ralloc.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_eu.h"
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "common/gen_device_info.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
|
||||
#include "main/framebuffer.h"
|
||||
#include "main/fbobject.h"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "main/compiler.h"
|
||||
#include "main/macros.h"
|
||||
#include "program/prog_instruction.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <stdint.h>
|
||||
#include "brw_reg.h"
|
||||
#include "brw_compiler.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_inst.h"
|
||||
#include "compiler/nir/nir.h"
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "brw_util.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
|
||||
GLuint brw_translate_blend_equation( GLenum mode )
|
||||
{
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_util.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "main/fbobject.h"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_util.h"
|
||||
#include "brw_wm.h"
|
||||
#include "program/program.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_util.h"
|
||||
#include "brw_wm.h"
|
||||
#include "program/program.h"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "brw_context.h"
|
||||
#include "brw_state.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_wm.h"
|
||||
#include "main/framebuffer.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue