X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu%2Fpsx_gpu.h;fp=plugins%2Fgpu_neon%2Fpsx_gpu%2Fpsx_gpu.h;h=4eb622dfbc2a04d5b9b6041518c5ee4f51c45229;hp=0ef957f29be3ed693d14356690ca74869a8f100e;hb=2d658c89305e390860565529ff1fff45af2429c6;hpb=0b4038f8edd327a3a9a2fbdefbc25ece921bc2ab diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.h b/plugins/gpu_neon/psx_gpu/psx_gpu.h index 0ef957f2..4eb622df 100644 --- 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 +#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 @@ -101,12 +109,6 @@ typedef 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 @@ -260,5 +262,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); -#endif - +#endif // __ASSEMBLER__ +#endif // PSX_GPU_H