intel/elk: Rename files to use elk prefix

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27563>
This commit is contained in:
Caio Oliveira 2024-01-19 15:24:34 -08:00 committed by Marge Bot
parent b02712efc2
commit e6022281f2
126 changed files with 434 additions and 434 deletions

View file

@ -29,11 +29,11 @@
#include <stdbool.h> #include <stdbool.h>
#include <assert.h> #include <assert.h>
#include "brw_reg.h" #include "elk_reg.h"
#include "brw_reg_type.h" #include "elk_reg_type.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_inst.h" #include "elk_inst.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "dev/intel_device_info.h" #include "dev/intel_device_info.h"
#include "util/list.h" #include "util/list.h"

View file

@ -24,8 +24,8 @@
#include <stdio.h> #include <stdio.h>
#include <getopt.h> #include <getopt.h>
#include "brw_asm.h" #include "elk_asm.h"
#include "intel/compiler/brw_disasm_info.h" #include "elk_disasm_info.h"
enum opt_output_type { enum opt_output_type {
OPT_OUTPUT_HEX, OPT_OUTPUT_HEX,

View file

@ -25,9 +25,9 @@
* *
*/ */
#include "brw_cfg.h" #include "elk_cfg.h"
#include "util/u_dynarray.h" #include "util/u_dynarray.h"
#include "brw_shader.h" #include "elk_shader.h"
/** @file brw_cfg.cpp /** @file brw_cfg.cpp
* *

View file

@ -28,9 +28,9 @@
#ifndef BRW_CFG_H #ifndef BRW_CFG_H
#define BRW_CFG_H #define BRW_CFG_H
#include "brw_ir.h" #include "elk_ir.h"
#ifdef __cplusplus #ifdef __cplusplus
#include "brw_ir_analysis.h" #include "elk_ir_analysis.h"
#endif #endif
struct bblock_t; struct bblock_t;

View file

@ -32,8 +32,8 @@
#ifndef BRW_CLIP_H #ifndef BRW_CLIP_H
#define BRW_CLIP_H #define BRW_CLIP_H
#include "brw_compiler.h" #include "elk_compiler.h"
#include "brw_eu.h" #include "elk_eu.h"
/* Initial 3 verts, plus at most 6 additional verts from intersections /* Initial 3 verts, plus at most 6 additional verts from intersections
* with fixed planes, plus at most 8 additional verts from intersections * with fixed planes, plus at most 8 additional verts from intersections

View file

@ -29,8 +29,8 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_clip.h" #include "elk_clip.h"
#include "brw_prim.h" #include "elk_prim.h"
static void brw_clip_line_alloc_regs( struct brw_clip_compile *c ) static void brw_clip_line_alloc_regs( struct brw_clip_compile *c )
{ {

View file

@ -29,7 +29,7 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_clip.h" #include "elk_clip.h"
/* Point clipping, nothing to do? /* Point clipping, nothing to do?

View file

@ -29,8 +29,8 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_clip.h" #include "elk_clip.h"
#include "brw_prim.h" #include "elk_prim.h"
static void release_tmps( struct brw_clip_compile *c ) static void release_tmps( struct brw_clip_compile *c )
{ {

View file

@ -29,8 +29,8 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_clip.h" #include "elk_clip.h"
#include "brw_prim.h" #include "elk_prim.h"
/* This is performed against the original triangles, so no indirection /* This is performed against the original triangles, so no indirection

View file

@ -29,7 +29,7 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_clip.h" #include "elk_clip.h"
struct brw_reg get_tmp( struct brw_clip_compile *c ) struct brw_reg get_tmp( struct brw_clip_compile *c )

View file

@ -21,8 +21,8 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_clip.h" #include "elk_clip.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"

View file

@ -29,10 +29,10 @@
* Keith Whitwell <keithw@vmware.com> * Keith Whitwell <keithw@vmware.com>
*/ */
#include "brw_compiler.h" #include "elk_compiler.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_prim.h" #include "elk_prim.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_compiler.h" #include "elk_compiler.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_prim.h" #include "elk_prim.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_compiler.h" #include "elk_compiler.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
#include "util/u_debug.h" #include "util/u_debug.h"

View file

@ -33,7 +33,7 @@
#include "util/enum_operators.h" #include "util/enum_operators.h"
#include "util/ralloc.h" #include "util/ralloc.h"
#include "util/u_math.h" #include "util/u_math.h"
#include "brw_isa_info.h" #include "elk_isa_info.h"
#include "../intel_shader_enums.h" #include "../intel_shader_enums.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -26,8 +26,8 @@
* This file implements the dead control flow elimination optimization pass. * This file implements the dead control flow elimination optimization pass.
*/ */
#include "brw_shader.h" #include "elk_shader.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -24,7 +24,7 @@
#ifndef BRW_DEAD_CONTROL_FLOW_H #ifndef BRW_DEAD_CONTROL_FLOW_H
#define BRW_DEAD_CONTROL_FLOW_H #define BRW_DEAD_CONTROL_FLOW_H
#include "brw_shader.h" #include "elk_shader.h"
bool dead_control_flow_eliminate(backend_shader *s); bool dead_control_flow_eliminate(backend_shader *s);

View file

@ -26,7 +26,7 @@
#include <stdio.h> #include <stdio.h>
#include "brw_compiler.h" #include "elk_compiler.h"
static bool static bool
key_debug(const struct brw_compiler *c, void *log, key_debug(const struct brw_compiler *c, void *log,

View file

@ -26,14 +26,14 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_inst.h" #include "elk_inst.h"
#include "brw_isa_info.h" #include "elk_isa_info.h"
#include "brw_reg.h" #include "elk_reg.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "util/half_float.h" #include "util/half_float.h"
bool bool

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"

View file

@ -26,8 +26,8 @@
#include <string.h> #include <string.h>
#include <getopt.h> #include <getopt.h>
#include "compiler/brw_disasm.h" #include "elk_disasm.h"
#include "compiler/brw_isa_info.h" #include "elk_isa_info.h"
#include "dev/intel_device_info.h" #include "dev/intel_device_info.h"
#include "util/u_dynarray.h" #include "util/u_dynarray.h"

View file

@ -32,10 +32,10 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "../intel_gfx_ver_enum.h" #include "../intel_gfx_ver_enum.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"

View file

@ -35,11 +35,11 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include "brw_inst.h" #include "elk_inst.h"
#include "brw_compiler.h" #include "elk_compiler.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_isa_info.h" #include "elk_isa_info.h"
#include "brw_reg.h" #include "elk_reg.h"
#include "util/bitset.h" #include "util/bitset.h"

View file

@ -78,10 +78,10 @@
* the mantissa. * the mantissa.
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
static const uint32_t g45_control_index_table[32] = { static const uint32_t g45_control_index_table[32] = {

View file

@ -30,8 +30,8 @@
*/ */
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "util/ralloc.h" #include "util/ralloc.h"

View file

@ -30,8 +30,8 @@
*/ */
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_eu.h" #include "elk_eu.h"
void brw_math_invert( struct brw_codegen *p, void brw_math_invert( struct brw_codegen *p,

View file

@ -39,8 +39,8 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
/* We're going to do lots of string concatenation, so this should help. */ /* We're going to do lots of string concatenation, so this should help. */
struct string { struct string {

View file

@ -28,15 +28,15 @@
* from the LIR. * from the LIR.
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "brw_vec4_gs_visitor.h" #include "elk_vec4_gs_visitor.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_dead_control_flow.h" #include "elk_dead_control_flow.h"
#include "brw_private.h" #include "elk_private.h"
#include "../intel_nir.h" #include "../intel_nir.h"
#include "shader_enums.h" #include "shader_enums.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"

View file

@ -28,10 +28,10 @@
#ifndef BRW_FS_H #ifndef BRW_FS_H
#define BRW_FS_H #define BRW_FS_H
#include "brw_shader.h" #include "elk_shader.h"
#include "brw_ir_fs.h" #include "elk_ir_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_ir_performance.h" #include "elk_ir_performance.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
struct bblock_t; struct bblock_t;

View file

@ -48,8 +48,8 @@
* cubic term within reasonable bounds for m close to its theoretical maximum. * cubic term within reasonable bounds for m close to its theoretical maximum.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#ifdef __SSE2__ #ifdef __SSE2__

View file

@ -25,10 +25,10 @@
#ifndef BRW_FS_BUILDER_H #ifndef BRW_FS_BUILDER_H
#define BRW_FS_BUILDER_H #define BRW_FS_BUILDER_H
#include "brw_ir_fs.h" #include "elk_ir_fs.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
namespace brw { namespace brw {
/** /**

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_eu.h" #include "elk_eu.h"
/** @file brw_fs_cmod_propagation.cpp /** @file brw_fs_cmod_propagation.cpp
* *

View file

@ -34,9 +34,9 @@
* cannot use immediate values. * cannot use immediate values.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "util/half_float.h" #include "util/half_float.h"
using namespace brw; using namespace brw;

View file

@ -35,10 +35,10 @@
#include "util/bitset.h" #include "util/bitset.h"
#include "util/u_math.h" #include "util/u_math.h"
#include "util/rb_tree.h" #include "util/rb_tree.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_eu.h" #include "elk_eu.h"
using namespace brw; using namespace brw;

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
/** @file brw_fs_cse.cpp /** @file brw_fs_cse.cpp
* *

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_cfg.h" #include "elk_cfg.h"
/** @file brw_fs_dead_code_eliminate.cpp /** @file brw_fs_dead_code_eliminate.cpp
* *

View file

@ -27,10 +27,10 @@
* native instructions. * native instructions.
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
#include "util/mesa-sha1.h" #include "util/mesa-sha1.h"
#include "util/half_float.h" #include "util/half_float.h"

View file

@ -25,8 +25,8 @@
* *
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
using namespace brw; using namespace brw;

View file

@ -28,8 +28,8 @@
#ifndef BRW_FS_LIVE_VARIABLES_H #ifndef BRW_FS_LIVE_VARIABLES_H
#define BRW_FS_LIVE_VARIABLES_H #define BRW_FS_LIVE_VARIABLES_H
#include "brw_ir_analysis.h" #include "elk_ir_analysis.h"
#include "brw_ir_fs.h" #include "elk_ir_fs.h"
#include "util/bitset.h" #include "util/bitset.h"
struct cfg_t; struct cfg_t;

View file

@ -22,9 +22,9 @@
*/ */
#include "util/half_float.h" #include "util/half_float.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
using namespace brw; using namespace brw;

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
using namespace brw; using namespace brw;

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "nir.h" #include "nir.h"
#include "nir_intrinsics.h" #include "nir_intrinsics.h"
#include "nir_search_helpers.h" #include "nir_search_helpers.h"

View file

@ -25,10 +25,10 @@
* *
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "util/set.h" #include "util/set.h"
#include "util/register_allocate.h" #include "util/register_allocate.h"

View file

@ -40,9 +40,9 @@
* mul vgrf5:F, vgrf5:F, vgrf4:F * mul vgrf5:F, vgrf5:F, vgrf4:F
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
using namespace brw; using namespace brw;

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
/** @file brw_fs_sel_peephole.cpp /** @file brw_fs_sel_peephole.cpp
* *

View file

@ -21,8 +21,8 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
using namespace brw; using namespace brw;

View file

@ -27,8 +27,8 @@
* pass only validates that GRF's uses are sane. More can be added later. * pass only validates that GRF's uses are sane. More can be added later.
*/ */
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#define fsv_assert(assertion) \ #define fsv_assert(assertion) \
{ \ { \

View file

@ -27,10 +27,10 @@
* makes it easier to do backend-specific optimizations than doing so * makes it easier to do backend-specific optimizations than doing so
* in the GLSL IR or in the native code. * in the GLSL IR or in the native code.
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "compiler/glsl_types.h" #include "compiler/glsl_types.h"
using namespace brw; using namespace brw;

View file

@ -29,9 +29,9 @@
* Gfx6 geometry shader implementation * Gfx6 geometry shader implementation
*/ */
#include "gfx6_gs_visitor.h" #include "elk_gfx6_gs_visitor.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_prim.h" #include "elk_prim.h"
namespace brw { namespace brw {

View file

@ -25,8 +25,8 @@
#ifndef GFX6_GS_VISITOR_H #ifndef GFX6_GS_VISITOR_H
#define GFX6_GS_VISITOR_H #define GFX6_GS_VISITOR_H
#include "brw_vec4.h" #include "elk_vec4.h"
#include "brw_vec4_gs_visitor.h" #include "elk_vec4_gs_visitor.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -26,7 +26,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>
#include "brw_asm.h" #include "elk_asm.h"
#undef yyerror #undef yyerror
#ifdef YYBYACC #ifdef YYBYACC

View file

@ -34,9 +34,9 @@
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <stdint.h>
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_isa_info.h" #include "elk_isa_info.h"
#include "brw_reg_type.h" #include "elk_reg_type.h"
#include "dev/intel_device_info.h" #include "dev/intel_device_info.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_compiler.h" #include "elk_compiler.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
static char const *get_qual_name(int mode) static char const *get_qual_name(int mode)

View file

@ -26,7 +26,7 @@
#define BRW_IR_H #define BRW_IR_H
#include <assert.h> #include <assert.h>
#include "brw_reg.h" #include "elk_reg.h"
#include "compiler/glsl/list.h" #include "compiler/glsl/list.h"
#define MAX_SAMPLER_MESSAGE_SIZE 11 #define MAX_SAMPLER_MESSAGE_SIZE 11

View file

@ -25,7 +25,7 @@
#ifndef BRW_IR_FS_H #ifndef BRW_IR_FS_H
#define BRW_IR_FS_H #define BRW_IR_FS_H
#include "brw_shader.h" #include "elk_shader.h"
class fs_inst; class fs_inst;

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_vec4.h" #include "elk_vec4.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -25,7 +25,7 @@
#ifndef BRW_IR_VEC4_H #ifndef BRW_IR_VEC4_H
#define BRW_IR_VEC4_H #define BRW_IR_VEC4_H
#include "brw_shader.h" #include "elk_shader.h"
namespace brw { namespace brw {

View file

@ -24,7 +24,7 @@
#define BRW_ISA_ENCODING_H #define BRW_ISA_ENCODING_H
#include "dev/intel_device_info.h" #include "dev/intel_device_info.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -2,9 +2,9 @@
%option nounput %option nounput
%{ %{
#include <string.h> #include <string.h>
#include "brw_asm.h" #include "elk_asm.h"
#undef ALIGN16 #undef ALIGN16
#include "brw_gram.tab.h" #include "elk_gram.tab.h"
/* Locations */ /* Locations */
int yycolumn = 1; int yycolumn = 1;

View file

@ -25,9 +25,9 @@
* @file brw_lower_logical_sends.cpp * @file brw_lower_logical_sends.cpp
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
using namespace brw; using namespace brw;

View file

@ -22,8 +22,8 @@
*/ */
#include "../intel_nir.h" #include "../intel_nir.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "brw_shader.h" #include "elk_shader.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
#include "compiler/glsl_types.h" #include "compiler/glsl_types.h"
#include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_builder.h"

View file

@ -24,9 +24,9 @@
#ifndef BRW_NIR_H #ifndef BRW_NIR_H
#define BRW_NIR_H #define BRW_NIR_H
#include "brw_reg.h" #include "elk_reg.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
#include "brw_compiler.h" #include "elk_compiler.h"
#include "nir_builder.h" #include "nir_builder.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_nir.h" #include "elk_nir.h"
/* /*
* This file implements an analysis pass that determines when we have to do * This file implements an analysis pass that determines when we have to do

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_nir.h" #include "elk_nir.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
#include "util/u_dynarray.h" #include "util/u_dynarray.h"

View file

@ -22,7 +22,7 @@
*/ */
#include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_builder.h"
#include "brw_nir.h" #include "elk_nir.h"
/** /**
* Prior to Haswell, the hardware can't natively support GL_FIXED or * Prior to Haswell, the hardware can't natively support GL_FIXED or

View file

@ -22,7 +22,7 @@
*/ */
#include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_builder.h"
#include "brw_nir.h" #include "elk_nir.h"
/** /**
* We need to compute alpha to coverage dithering manually in shader * We need to compute alpha to coverage dithering manually in shader

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_nir.h" #include "elk_nir.h"
#include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_builder.h"
struct lower_intrinsics_state { struct lower_intrinsics_state {

View file

@ -23,7 +23,7 @@
#include "isl/isl.h" #include "isl/isl.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_builder.h"
#include "compiler/nir/nir_format_convert.h" #include "compiler/nir/nir_format_convert.h"

View file

@ -56,7 +56,7 @@ def main():
def run(): def run():
import nir_algebraic # pylint: disable=import-error import nir_algebraic # pylint: disable=import-error
print('#include "brw_nir.h"') print('#include "elk_nir.h"')
print(nir_algebraic.AlgebraicPass("brw_nir_apply_trig_workarounds", print(nir_algebraic.AlgebraicPass("brw_nir_apply_trig_workarounds",
TRIG_WORKAROUNDS).render()) TRIG_WORKAROUNDS).render())
print(nir_algebraic.AlgebraicPass("brw_nir_limit_trig_input_range_workaround", print(nir_algebraic.AlgebraicPass("brw_nir_limit_trig_input_range_workaround",

View file

@ -20,7 +20,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_reg.h" #include "elk_reg.h"
union fu { union fu {
float f; float f;

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_shader.h" #include "elk_shader.h"
using namespace brw; using namespace brw;

View file

@ -25,7 +25,7 @@
#ifndef BRW_PRIVATE_H #ifndef BRW_PRIVATE_H
#define BRW_PRIVATE_H #define BRW_PRIVATE_H
#include "brw_compiler.h" #include "elk_compiler.h"
#include <variant> #include <variant>

View file

@ -48,8 +48,8 @@
#include "util/macros.h" #include "util/macros.h"
#include "util/rounding.h" #include "util/rounding.h"
#include "util/u_math.h" #include "util/u_math.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "brw_reg_type.h" #include "elk_reg_type.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -21,8 +21,8 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_reg.h" #include "elk_reg.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "dev/intel_device_info.h" #include "dev/intel_device_info.h"
#define INVALID (-1) #define INVALID (-1)

View file

@ -25,12 +25,12 @@
* *
*/ */
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_live_variables.h" #include "elk_fs_live_variables.h"
#include "brw_vec4.h" #include "elk_vec4.h"
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_shader.h" #include "elk_shader.h"
#include <new> #include <new>
using namespace brw; using namespace brw;

View file

@ -21,12 +21,12 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_nir.h" #include "elk_nir.h"
#include "brw_private.h" #include "elk_private.h"
#include "brw_vec4_tes.h" #include "elk_vec4_tes.h"
#include "dev/intel_debug.h" #include "dev/intel_debug.h"
#include "util/macros.h" #include "util/macros.h"
#include "util/u_debug.h" #include "util/u_debug.h"

View file

@ -25,13 +25,13 @@
#define BRW_SHADER_H #define BRW_SHADER_H
#include <stdint.h> #include <stdint.h>
#include "brw_cfg.h" #include "elk_cfg.h"
#include "brw_compiler.h" #include "elk_compiler.h"
#include "compiler/nir/nir.h" #include "compiler/nir/nir.h"
#ifdef __cplusplus #ifdef __cplusplus
#include "brw_ir_analysis.h" #include "elk_ir_analysis.h"
#include "brw_ir_allocator.h" #include "elk_ir_allocator.h"
enum instruction_scheduler_mode { enum instruction_scheduler_mode {
SCHEDULE_PRE, SCHEDULE_PRE,

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "brw_private.h" #include "elk_private.h"
#include "compiler/shader_info.h" #include "compiler/shader_info.h"
#include "intel/dev/intel_debug.h" #include "intel/dev/intel_debug.h"
#include "intel/dev/intel_device_info.h" #include "intel/dev/intel_device_info.h"

View file

@ -25,8 +25,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include "util/ralloc.h" #include "util/ralloc.h"
#include "brw_disasm.h" #include "elk_disasm.h"
#include "brw_eu.h" #include "elk_eu.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -22,9 +22,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_disasm_info.h" #include "elk_disasm_info.h"
#include "brw_eu.h" #include "elk_eu.h"
#include "brw_eu_defines.h" #include "elk_eu_defines.h"
#include "util/bitset.h" #include "util/bitset.h"
#include "util/ralloc.h" #include "util/ralloc.h"

View file

@ -22,9 +22,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -4,9 +4,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -22,9 +22,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -22,9 +22,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -4,9 +4,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_fs.h" #include "elk_fs.h"
#include "brw_fs_builder.h" #include "elk_fs_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -22,7 +22,7 @@
*/ */
#include "brw_private.h" #include "elk_private.h"
#include "compiler/shader_info.h" #include "compiler/shader_info.h"
#include "intel/dev/intel_debug.h" #include "intel/dev/intel_debug.h"
#include "intel/dev/intel_device_info.h" #include "intel/dev/intel_device_info.h"

View file

@ -24,9 +24,9 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_vec4.h" #include "elk_vec4.h"
#include "brw_vec4_builder.h" #include "elk_vec4_builder.h"
#include "brw_cfg.h" #include "elk_cfg.h"
using namespace brw; using namespace brw;

View file

@ -22,7 +22,7 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_vec4.h" #include "elk_vec4.h"
using namespace brw; using namespace brw;

View file

@ -22,7 +22,7 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_vec4.h" #include "elk_vec4.h"
using namespace brw; using namespace brw;

View file

@ -22,7 +22,7 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "brw_vec4.h" #include "elk_vec4.h"
using namespace brw; using namespace brw;

View file

@ -23,7 +23,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <math.h> #include <math.h>
#include "brw_reg.h" #include "elk_reg.h"
class vf_float_conversion_test : public ::testing::Test { class vf_float_conversion_test : public ::testing::Test {
virtual void SetUp(); virtual void SetUp();

Some files were not shown because too many files have changed in this diff Show more