notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psxbios: fix wrong regs in syscall handler
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
psx_gpu
/
psx_gpu.h
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu.h
b/plugins/gpu_neon/psx_gpu/psx_gpu.h
index
88e40ac
..
957b434
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu.h
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu.h
@@
-15,6
+15,14
@@
#ifndef PSX_GPU_H
#define PSX_GPU_H
#ifndef PSX_GPU_H
#define PSX_GPU_H
+#define MAX_SPANS 512
+#define MAX_BLOCKS 64
+#define MAX_BLOCKS_PER_ROW 128
+
+#define SPAN_DATA_BLOCKS_SIZE 32
+
+#ifndef __ASSEMBLER__
+
#include "vector_types.h"
typedef enum
#include "vector_types.h"
typedef enum
@@
-101,12
+109,6
@@
typedef struct
vec_8x16u dither_offsets;
} block_struct;
vec_8x16u dither_offsets;
} block_struct;
-#define MAX_SPANS 512
-#define MAX_BLOCKS 64
-#define MAX_BLOCKS_PER_ROW 128
-
-#define SPAN_DATA_BLOCKS_SIZE 32
-
typedef struct render_block_handler_struct render_block_handler_struct;
typedef struct
typedef struct render_block_handler_struct render_block_handler_struct;
typedef struct
@@
-261,5
+263,5
@@
void compute_all_gradients(psx_gpu_struct * __restrict__ psx_gpu,
const vertex_struct * __restrict__ a, const vertex_struct * __restrict__ b,
const vertex_struct * __restrict__ c);
const vertex_struct * __restrict__ a, const vertex_struct * __restrict__ b,
const vertex_struct * __restrict__ c);
-#endif
-
+#endif
// __ASSEMBLER__
+#endif // PSX_GPU_H