Merge tgsi/exec and tgsi/util directories.
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#include "cso_cache/cso_context.h"
|
#include "cso_cache/cso_context.h"
|
||||||
#include "cso_cache/cso_cache.h"
|
#include "cso_cache/cso_cache.h"
|
||||||
|
@@ -38,8 +38,8 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_transform.h"
|
#include "tgsi/tgsi_transform.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "draw_context.h"
|
#include "draw_context.h"
|
||||||
#include "draw_private.h"
|
#include "draw_private.h"
|
||||||
|
@@ -44,8 +44,8 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_transform.h"
|
#include "tgsi/tgsi_transform.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "draw_context.h"
|
#include "draw_context.h"
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
|
@@ -40,8 +40,8 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_transform.h"
|
#include "tgsi/tgsi_transform.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "draw_context.h"
|
#include "draw_context.h"
|
||||||
#include "draw_pipe.h"
|
#include "draw_pipe.h"
|
||||||
|
@@ -44,8 +44,8 @@
|
|||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
|
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
|
|
||||||
struct pipe_context;
|
struct pipe_context;
|
||||||
|
@@ -31,10 +31,10 @@
|
|||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
#include "draw_vs_aos.h"
|
#include "draw_vs_aos.h"
|
||||||
|
@@ -28,9 +28,9 @@
|
|||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
#include "draw_vs_aos.h"
|
#include "draw_vs_aos.h"
|
||||||
#include "draw_vertex.h"
|
#include "draw_vertex.h"
|
||||||
|
@@ -31,9 +31,9 @@
|
|||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
#include "draw_vs_aos.h"
|
#include "draw_vs_aos.h"
|
||||||
#include "draw_vertex.h"
|
#include "draw_vertex.h"
|
||||||
|
@@ -38,8 +38,8 @@
|
|||||||
#include "draw_context.h"
|
#include "draw_context.h"
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
|
|
||||||
struct exec_vertex_shader {
|
struct exec_vertex_shader {
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
#include "draw_context.h"
|
#include "draw_context.h"
|
||||||
#include "draw_vs.h"
|
#include "draw_vs.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#ifdef MESA_LLVM
|
#ifdef MESA_LLVM
|
||||||
|
|
||||||
|
@@ -45,8 +45,8 @@
|
|||||||
|
|
||||||
#include "rtasm/rtasm_cpu.h"
|
#include "rtasm/rtasm_cpu.h"
|
||||||
#include "rtasm/rtasm_x86sse.h"
|
#include "rtasm/rtasm_x86sse.h"
|
||||||
#include "tgsi/exec/tgsi_sse2.h"
|
#include "tgsi/tgsi_sse2.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#define SSE_MAX_VERTICES 4
|
#define SSE_MAX_VERTICES 4
|
||||||
|
|
||||||
|
@@ -42,8 +42,8 @@
|
|||||||
#include "pipe/p_context.h"
|
#include "pipe/p_context.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
|
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include <llvm/Module.h>
|
#include <llvm/Module.h>
|
||||||
#include <llvm/CallingConv.h>
|
#include <llvm/CallingConv.h>
|
||||||
|
@@ -43,8 +43,8 @@
|
|||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
|
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include <llvm/Module.h>
|
#include <llvm/Module.h>
|
||||||
#include <llvm/CallingConv.h>
|
#include <llvm/CallingConv.h>
|
||||||
|
@@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
|
|
||||||
#include <llvm/Module.h>
|
#include <llvm/Module.h>
|
||||||
|
@@ -4,15 +4,15 @@ include $(TOP)/configs/current
|
|||||||
LIBNAME = tgsi
|
LIBNAME = tgsi
|
||||||
|
|
||||||
C_SOURCES = \
|
C_SOURCES = \
|
||||||
exec/tgsi_exec.c \
|
tgsi_build.c \
|
||||||
exec/tgsi_sse2.c \
|
tgsi_dump.c \
|
||||||
util/tgsi_iterate.c \
|
tgsi_exec.c \
|
||||||
util/tgsi_build.c \
|
tgsi_iterate.c \
|
||||||
util/tgsi_dump.c \
|
tgsi_parse.c \
|
||||||
util/tgsi_parse.c \
|
tgsi_scan.c \
|
||||||
util/tgsi_scan.c \
|
tgsi_sse2.c \
|
||||||
util/tgsi_transform.c \
|
tgsi_transform.c \
|
||||||
util/tgsi_util.c
|
tgsi_util.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
@@ -3,18 +3,18 @@ Import('*')
|
|||||||
tgsi = env.ConvenienceLibrary(
|
tgsi = env.ConvenienceLibrary(
|
||||||
target = 'tgsi',
|
target = 'tgsi',
|
||||||
source = [
|
source = [
|
||||||
'exec/tgsi_exec.c',
|
'tgsi_build.c',
|
||||||
'exec/tgsi_sse2.c',
|
'tgsi_dump.c',
|
||||||
'util/tgsi_build.c',
|
'tgsi_dump_c.c',
|
||||||
'util/tgsi_dump.c',
|
'tgsi_exec.c',
|
||||||
'util/tgsi_dump_c.c',
|
'tgsi_iterate.c',
|
||||||
'util/tgsi_iterate.c',
|
'tgsi_parse.c',
|
||||||
'util/tgsi_parse.c',
|
'tgsi_sanity.c',
|
||||||
'util/tgsi_sanity.c',
|
'tgsi_scan.c',
|
||||||
'util/tgsi_scan.c',
|
'tgsi_sse2.c',
|
||||||
'util/tgsi_text.c',
|
'tgsi_text.c',
|
||||||
'util/tgsi_transform.c',
|
'tgsi_transform.c',
|
||||||
'util/tgsi_util.c',
|
'tgsi_util.c',
|
||||||
])
|
])
|
||||||
|
|
||||||
auxiliaries.insert(0, tgsi)
|
auxiliaries.insert(0, tgsi)
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
default:
|
|
||||||
cd .. ; make
|
|
@@ -54,8 +54,8 @@
|
|||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi_exec.h"
|
#include "tgsi_exec.h"
|
||||||
|
|
||||||
#define TILE_TOP_LEFT 0
|
#define TILE_TOP_LEFT 0
|
@@ -29,7 +29,7 @@
|
|||||||
#define TGSI_ITERATE_H
|
#define TGSI_ITERATE_H
|
||||||
|
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
@@ -34,8 +34,8 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "tgsi_scan.h"
|
#include "tgsi_scan.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
|
|
4
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c → src/gallium/auxiliary/tgsi/tgsi_sse2.c
Executable file → Normal file
4
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c → src/gallium/auxiliary/tgsi/tgsi_sse2.c
Executable file → Normal file
@@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "tgsi_exec.h"
|
#include "tgsi_exec.h"
|
||||||
#include "tgsi_sse2.h"
|
#include "tgsi_sse2.h"
|
||||||
|
|
0
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h → src/gallium/auxiliary/tgsi/tgsi_sse2.h
Executable file → Normal file
0
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h → src/gallium/auxiliary/tgsi/tgsi_sse2.h
Executable file → Normal file
@@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -45,9 +45,9 @@
|
|||||||
#include "util/u_gen_mipmap.h"
|
#include "util/u_gen_mipmap.h"
|
||||||
#include "util/u_simple_shaders.h"
|
#include "util/u_simple_shaders.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#include "cso_cache/cso_context.h"
|
#include "cso_cache/cso_context.h"
|
||||||
|
|
||||||
|
@@ -43,9 +43,9 @@
|
|||||||
|
|
||||||
#include "util/u_simple_shaders.h"
|
#include "util/u_simple_shaders.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
#include "cell_winsys.h"
|
#include "cell_winsys.h"
|
||||||
#include "cell/common.h"
|
#include "cell/common.h"
|
||||||
#include "rtasm/rtasm_ppc_spe.h"
|
#include "rtasm/rtasm_ppc_spe.h"
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
struct cell_vbuf_render;
|
struct cell_vbuf_render;
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "pipe/p_winsys.h"
|
#include "pipe/p_winsys.h"
|
||||||
#include "draw/draw_context.h"
|
#include "draw/draw_context.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#include "cell_context.h"
|
#include "cell_context.h"
|
||||||
#include "cell_state.h"
|
#include "cell_state.h"
|
||||||
|
@@ -65,8 +65,8 @@
|
|||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "spu_exec.h"
|
#include "spu_exec.h"
|
||||||
#include "spu_main.h"
|
#include "spu_main.h"
|
||||||
#include "spu_vertex_shader.h"
|
#include "spu_vertex_shader.h"
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#define SPU_EXEC_H
|
#define SPU_EXEC_H
|
||||||
|
|
||||||
#include "pipe/p_compiler.h"
|
#include "pipe/p_compiler.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
//#include "tgsi_build.h"
|
//#include "tgsi_build.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
|
|
||||||
unsigned
|
unsigned
|
||||||
tgsi_util_get_src_register_swizzle(
|
tgsi_util_get_src_register_swizzle(
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include "draw/draw_vertex.h"
|
#include "draw/draw_vertex.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
|
|
||||||
#define I915_TEX_UNITS 8
|
#define I915_TEX_UNITS 8
|
||||||
|
@@ -34,8 +34,8 @@
|
|||||||
|
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "util/u_string.h"
|
#include "util/u_string.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "draw/draw_vertex.h"
|
#include "draw/draw_vertex.h"
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
#include "pipe/p_winsys.h"
|
#include "pipe/p_winsys.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#include "i915_context.h"
|
#include "i915_context.h"
|
||||||
#include "i915_reg.h"
|
#include "i915_reg.h"
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
|
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
#include "brw_structs.h"
|
#include "brw_structs.h"
|
||||||
#include "brw_winsys.h"
|
#include "brw_winsys.h"
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#include "brw_util.h"
|
#include "brw_util.h"
|
||||||
#include "brw_sf.h"
|
#include "brw_sf.h"
|
||||||
#include "brw_state.h"
|
#include "brw_state.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
|
|
||||||
static void compile_sf_prog( struct brw_context *brw,
|
static void compile_sf_prog( struct brw_context *brw,
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
#include "brw_state.h"
|
#include "brw_state.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -34,8 +34,8 @@
|
|||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
#include "brw_context.h"
|
#include "brw_context.h"
|
||||||
#include "brw_defines.h"
|
#include "brw_defines.h"
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
#include "brw_vs.h"
|
#include "brw_vs.h"
|
||||||
|
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
struct brw_prog_info {
|
struct brw_prog_info {
|
||||||
unsigned num_temps;
|
unsigned num_temps;
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
#include "brw_wm.h"
|
#include "brw_wm.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
|
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
|
||||||
{
|
{
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
#include "brw_wm.h"
|
#include "brw_wm.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -36,8 +36,8 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
|
|
||||||
struct sp_exec_fragment_shader {
|
struct sp_exec_fragment_shader {
|
||||||
struct sp_fragment_shader base;
|
struct sp_fragment_shader base;
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "tgsi/exec/tgsi_sse2.h"
|
#include "tgsi/tgsi_sse2.h"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
||||||
|
@@ -36,8 +36,8 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "pipe/p_inlines.h"
|
#include "pipe/p_inlines.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
#include "tgsi/exec/tgsi_sse2.h"
|
#include "tgsi/tgsi_sse2.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef PIPE_ARCH_X86
|
#ifdef PIPE_ARCH_X86
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#define SP_HEADERS_H
|
#define SP_HEADERS_H
|
||||||
|
|
||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
|
|
||||||
#define PRIM_POINT 1
|
#define PRIM_POINT 1
|
||||||
#define PRIM_LINE 2
|
#define PRIM_LINE 2
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#define SP_STATE_H
|
#define SP_STATE_H
|
||||||
|
|
||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
|
|
||||||
#define SP_NEW_VIEWPORT 0x1
|
#define SP_NEW_VIEWPORT 0x1
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
#include "pipe/p_winsys.h"
|
#include "pipe/p_winsys.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "draw/draw_context.h"
|
#include "draw/draw_context.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
#include "tgsi/util/tgsi_scan.h"
|
#include "tgsi/tgsi_scan.h"
|
||||||
|
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
#include "pipe/p_context.h"
|
#include "pipe/p_context.h"
|
||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_util.h"
|
#include "pipe/p_util.h"
|
||||||
#include "tgsi/exec/tgsi_exec.h"
|
#include "tgsi/tgsi_exec.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -47,8 +47,8 @@
|
|||||||
#include "cso_cache/cso_context.h"
|
#include "cso_cache/cso_context.h"
|
||||||
#include "util/u_draw_quad.h"
|
#include "util/u_draw_quad.h"
|
||||||
#include "util/p_tile.h"
|
#include "util/p_tile.h"
|
||||||
#include "tgsi/util/tgsi_text.h"
|
#include "tgsi/tgsi_text.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "st_device.h"
|
#include "st_device.h"
|
||||||
#include "st_sample.h"
|
#include "st_sample.h"
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "cso_cache/cso_cache.h"
|
#include "cso_cache/cso_cache.h"
|
||||||
|
|
||||||
|
@@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
#include "pipe/p_compiler.h"
|
#include "pipe/p_compiler.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "tgsi/util/tgsi_parse.h"
|
#include "tgsi/tgsi_parse.h"
|
||||||
#include "tgsi/util/tgsi_build.h"
|
#include "tgsi/tgsi_build.h"
|
||||||
#include "tgsi/util/tgsi_util.h"
|
#include "tgsi/tgsi_util.h"
|
||||||
#include "st_mesa_to_tgsi.h"
|
#include "st_mesa_to_tgsi.h"
|
||||||
#include "shader/prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "shader/prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
#include "pipe/p_shader_tokens.h"
|
#include "pipe/p_shader_tokens.h"
|
||||||
#include "draw/draw_context.h"
|
#include "draw/draw_context.h"
|
||||||
#include "tgsi/util/tgsi_dump.h"
|
#include "tgsi/tgsi_dump.h"
|
||||||
|
|
||||||
#include "st_context.h"
|
#include "st_context.h"
|
||||||
#include "st_atom.h"
|
#include "st_atom.h"
|
||||||
|
Reference in New Issue
Block a user