01:49
apritzel has quit [Ping timeout: 480 seconds]
02:16
cnxsoft has joined #linux-sunxi
03:22
Luke-Jr has quit [Ping timeout: 480 seconds]
03:25
kilobyte1 has quit [Ping timeout: 480 seconds]
03:30
kilobyte1 has joined #linux-sunxi
03:45
Luke-Jr has joined #linux-sunxi
04:42
JohnDoe_71Rus has joined #linux-sunxi
04:54
Luke-Jr has quit [Ping timeout: 480 seconds]
05:16
<
clever >
libv: oh, do you know about tiled 3d engines?
05:17
Luke-Jr has joined #linux-sunxi
05:50
rajkosto has quit [Read error: Connection reset by peer]
05:56
cnxsoft has quit [Ping timeout: 480 seconds]
07:11
apritzel has joined #linux-sunxi
07:21
cnxsoft has joined #linux-sunxi
07:35
apritzel has quit [Ping timeout: 480 seconds]
07:52
vagrantc has quit [Quit: leaving]
07:56
apritzel has joined #linux-sunxi
08:22
apritzel has quit [Ping timeout: 480 seconds]
08:34
<
libv >
clever: not terribly much, apart from having REed the lima :)
08:34
apritzel has joined #linux-sunxi
08:44
<
libv >
and i'm not far enough along with the pcx2
09:49
cnxsoft has quit [Ping timeout: 480 seconds]
10:29
cnxsoft has joined #linux-sunxi
10:36
apritzel has quit [Ping timeout: 480 seconds]
11:26
pcBob has joined #linux-sunxi
11:50
apritzel has joined #linux-sunxi
13:59
rajkosto has joined #linux-sunxi
14:24
rajkosto has quit [Read error: Connection reset by peer]
14:24
apritzel has quit [Ping timeout: 480 seconds]
14:55
cnxsoft has quit [Remote host closed the connection]
14:55
cnxsoft has joined #linux-sunxi
15:03
apritzel has joined #linux-sunxi
15:11
cnxsoft has quit []
16:40
ftg has joined #linux-sunxi
17:32
<
clever >
libv: the 3d core on the rpi has proper docs and is tile based
17:34
<
clever >
in this image, i hadnt realized that the shader code must be correctly aligned
17:35
<
clever >
each tile with no polygons just did the background fill and it went on to the next
17:35
<
clever >
then it hit a tile with the edge of a polygon, malfunctioned due to a mis-aligned shader, and hung
17:36
<
clever >
but also, the tile rendering order, is under my control
17:36
<
clever >
the binning step, will auto-generate a 2d array of bytecode
17:36
<
clever >
the rendering step must then call that generated code like a function, but the bytecode lacks for loops
17:37
<
clever >
so you just unroll the entire loop!
17:37
<
clever >
313 says where to draw the next tile in the framebuffer, 318 calls the generated bytecode for that tile, and 324/327 will either flush it to the framebuffer, or flush and signal completion
17:38
<
anarsoul >
clever: tile rendering order is also in our control in lima, and we use hilbert curve order
17:38
<
clever >
anarsoul: what benefits are there to changing the tile order?
17:39
<
anarsoul >
clever: better cache hit rate
17:39
<
anarsoul >
IIRC libv experimented with it, so he should know details better
17:40
<
clever >
and now that i look at a hilbert curve, that looks almost identical to the wonky tile format the hw needs!
17:42
<
clever >
all textures are laid out in that manner, so texture fetches have a higher hit chance
17:50
<
libv >
hilbert is what arm used, and it makes sense, and it's a known public algorithm
17:53
<
clever >
on the left, i told the closed firmware to just render a linear raster as a linear raster
17:53
<
clever >
on the right, is a partially, oh thats the boring version
17:54
<
clever >
on the right, is the same linear raster image, but i told the firmware to treat it as a t-format image
17:54
<
clever >
i then iteratively made the code match the docs, with that scrambled view slowly unscrambling to confirm i was doing it right
18:01
<
clever >
oh, and there is cache hit/miss counters
18:02
<
clever >
so i could easily implement rendering in hilbert order, and say if its better or worse, for a given frame
18:20
vagrantc has joined #linux-sunxi
18:48
Luke-Jr has quit [Ping timeout: 480 seconds]
18:50
renze_ has quit [Ping timeout: 480 seconds]
19:06
renze_ has joined #linux-sunxi
19:09
chewitt has joined #linux-sunxi
19:11
Luke-Jr has joined #linux-sunxi
19:15
JohnDoe_71Rus has quit []
20:01
Luke-Jr has quit [Ping timeout: 480 seconds]
20:21
linusw_ has joined #linux-sunxi
20:24
Luke-Jr has joined #linux-sunxi
22:13
ftg has quit [Read error: Connection reset by peer]
22:14
ftg has joined #linux-sunxi
23:43
pcBob has quit [Remote host closed the connection]