notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f18ab
)
gpu_neon: fix texels vs pixels confusion
author
notaz
<notasas@gmail.com>
Thu, 13 Jul 2023 22:15:00 +0000
(
01:15
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 14 Jul 2023 17:54:33 +0000
(20:54 +0300)
plugins/gpu_neon/psx_gpu/psx_gpu.h
patch
|
blob
|
blame
|
history
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
patch
|
blob
|
blame
|
history
plugins/gpu_neon/psx_gpu/psx_gpu_simd.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu.h
b/plugins/gpu_neon/psx_gpu/psx_gpu.h
index
f9de741
..
e365b8a
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu.h
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu.h
@@
-69,7
+69,7
@@
typedef struct
u16 y;
} edge_data_struct;
-// 64 bytes total
+// 64
(72)
bytes total
typedef struct
{
// 16 bytes
@@
-93,7
+93,7
@@
typedef struct
vec_8x16u pixels;
};
- // 8 bytes
+ // 8
(16)
bytes
u32 draw_mask_bits;
u16 *fb_ptr;
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
b/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
index
5ef5f20
..
6a88beb
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
@@
-1643,4
+1643,4
@@
breakloop:
#endif /* PCSX */
-// vim:shiftwidth=2:expandtab
+// vim:
ts=2:
shiftwidth=2:expandtab
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c
b/plugins/gpu_neon/psx_gpu/psx_gpu_simd.c
index
486897f
..
0039254
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu_simd.c
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu_simd.c
@@
-2822,7
+2822,7
@@
void shade_blocks_unshaded_untextured_direct(psx_gpu_struct *psx_gpu)
u32 num_blocks = psx_gpu->num_blocks;
vec_8x16u pixels;
- gvld1q_u16(pixels, block->
te
xels.e);
+ gvld1q_u16(pixels, block->
pi
xels.e);
shade_blocks_load_msb_mask_direct();
while(num_blocks)