lima:lima.git
5 years agolimare: add fragment_shader_attach_mbs_stream fosdem2013_pile
Luc Verhaegen [Mon, 18 Mar 2013 04:20:04 +0000 (05:20 +0100)]
limare: add fragment_shader_attach_mbs_stream

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fragment_shader_param is first instruction size
Luc Verhaegen [Mon, 18 Mar 2013 02:16:05 +0000 (03:16 +0100)]
limare: fragment_shader_param is first instruction size

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:pp: rename clear shader bits
Luc Verhaegen [Mon, 18 Mar 2013 01:47:34 +0000 (02:47 +0100)]
limare:pp: rename clear shader bits

Since we now have an OGT compiled clear shader, we should name things
properly, and also fix up the render_state typing.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:lib: use mbs for depth clear fragment shader
Luc Verhaegen [Mon, 18 Mar 2013 01:22:12 +0000 (02:22 +0100)]
limare:lib: use mbs for depth clear fragment shader

No more need for the mali binary compiler now :)

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agowrap: fix build and dump
Luc Verhaegen [Sun, 17 Mar 2013 23:05:03 +0000 (00:05 +0100)]
wrap: fix build and dump

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:symbol table: rename varying ranking to flags
Luc Verhaegen [Sun, 17 Mar 2013 16:32:07 +0000 (17:32 +0100)]
limare:symbol table: rename varying ranking to flags

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add fragment mbs loading
Luc Verhaegen [Sun, 17 Mar 2013 16:29:02 +0000 (17:29 +0100)]
limare: add fragment mbs loading

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: load vertex mbs stream from memory
Luc Verhaegen [Thu, 14 Mar 2013 14:05:45 +0000 (15:05 +0100)]
limare: load vertex mbs stream from memory

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add mbs loading
Luc Verhaegen [Tue, 12 Mar 2013 00:25:50 +0000 (01:25 +0100)]
limare: add mbs loading

We now have ogt mbs files running and working!

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add egl code for spinning cubes
Luc Verhaegen [Wed, 13 Feb 2013 06:16:02 +0000 (07:16 +0100)]
limare:tests: add egl code for spinning cubes

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: introduce triple frames
Luc Verhaegen [Sun, 27 Jan 2013 12:31:57 +0000 (13:31 +0100)]
limare: introduce triple frames

This finally puts us ahead on q3a: 48.2fps vs 47.3: 1.9%!

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: prescan through indices to reduce vs/plbu work
Luc Verhaegen [Sat, 26 Jan 2013 14:55:54 +0000 (15:55 +0100)]
limare: prescan through indices to reduce vs/plbu work

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix varying indexing
Luc Verhaegen [Sat, 26 Jan 2013 14:26:11 +0000 (15:26 +0100)]
limare: fix varying indexing

Also stop creating fragment uniforms when only samplers are there.^

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix job waiting code.
Luc Verhaegen [Thu, 24 Jan 2013 10:26:12 +0000 (11:26 +0100)]
limare: fix job waiting code.
Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoReduce memory subsystem load by not re-allocating frames memory.
Luc Verhaegen [Wed, 23 Jan 2013 12:39:18 +0000 (13:39 +0100)]
Reduce memory subsystem load by not re-allocating frames memory.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoq3a at 40.7 fps.
Luc Verhaegen [Tue, 22 Jan 2013 13:09:42 +0000 (14:09 +0100)]
q3a at 40.7 fps.

We now have job interleaving.

* Fixes an issue with the render state.
* Fixes an issue with the size of the wait_for_notification ioctl.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: use hilbert for the plb->pp pattern
Luc Verhaegen [Fri, 18 Jan 2013 17:19:38 +0000 (18:19 +0100)]
limare: use hilbert for the plb->pp pattern

After providing some PP sync infrastructure, and removing the threading,
the plb->pp pattern could be properly benchmarked. Hilbert won, and now
gets to stay.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: use hilbert for our plb scanning pattern for the pp.
Luc Verhaegen [Fri, 18 Jan 2013 12:14:44 +0000 (13:14 +0100)]
limare: use hilbert for our plb scanning pattern for the pp.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix bug in varying symbols creation
Luc Verhaegen [Fri, 18 Jan 2013 06:40:15 +0000 (07:40 +0100)]
limare: fix bug in varying symbols creation

Initially, we had varying ordering dealt with differently,
and we therefor assigned the order in the table from the
offset provided by the symbol itself. This now crashed horribly
on a shader which was assigning this offset at a 2 aligned value,
which then broke with use using that offset, divided by four,
as the index to the table.

We now have proper varying mapping, which takes this offset into
account. The index into the symbol table is therefor irrelevant.

Also removes a 1ms delay in starting the pp. It is pointless when
our sync is being detected properly.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoWorking q3a!
Luc Verhaegen [Fri, 18 Jan 2013 02:37:22 +0000 (03:37 +0100)]
Working q3a!

* bump the tile heap size up to 1MB, 320kb just isn't enough.
* fix up the sync word writing, so that we actual do sync.
* double the command buffer size so that the stupid stippled
  draws of frame 35 actually pass.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: double the size of the command buffers
Luc Verhaegen [Thu, 17 Jan 2013 01:30:37 +0000 (02:30 +0100)]
limare: double the size of the command buffers

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agomore random fixes
Luc Verhaegen [Mon, 18 Mar 2013 05:10:41 +0000 (06:10 +0100)]
more random fixes

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: track memory usage and print results at finish()
Luc Verhaegen [Wed, 16 Jan 2013 01:25:28 +0000 (02:25 +0100)]
limare: track memory usage and print results at finish()

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add color mask
Luc Verhaegen [Tue, 15 Jan 2013 23:30:05 +0000 (00:30 +0100)]
limare: add color mask

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add setting of the clear depth
Luc Verhaegen [Tue, 15 Jan 2013 23:19:23 +0000 (00:19 +0100)]
limare: add setting of the clear depth

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add alpha test
Luc Verhaegen [Tue, 15 Jan 2013 02:50:21 +0000 (03:50 +0100)]
limare: add alpha test

GLES1 functionality, which we can do in hw, and do not need a separate
shader for.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add scissor support
Luc Verhaegen [Tue, 15 Jan 2013 01:37:22 +0000 (02:37 +0100)]
limare: add scissor support

Also, fully figure out how the viewport transform works, and completely
redo viewport calculation.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add depth mask and polygon offset
Luc Verhaegen [Mon, 14 Jan 2013 07:43:42 +0000 (08:43 +0100)]
limare: add depth mask and polygon offset

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix w components of the viewport transform
Luc Verhaegen [Mon, 14 Jan 2013 03:32:07 +0000 (04:32 +0100)]
limare: fix w components of the viewport transform

Those are simply hardwired to 1.0 and 0.0.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add culling
Luc Verhaegen [Mon, 14 Jan 2013 03:29:39 +0000 (04:29 +0100)]
limare: add culling

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add limare_viewport()
Luc Verhaegen [Mon, 14 Jan 2013 02:37:52 +0000 (03:37 +0100)]
limare: add limare_viewport()

This also, finally, properly updates the viewport transformation.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add limare_depth()
Luc Verhaegen [Mon, 14 Jan 2013 01:37:55 +0000 (02:37 +0100)]
limare: add limare_depth()

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: emit a primitive setup at the start of the plbu
Luc Verhaegen [Mon, 14 Jan 2013 00:41:27 +0000 (01:41 +0100)]
limare: emit a primitive setup at the start of the plbu

Very little of this command has been figured out so far.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: provided correct clear render state
Luc Verhaegen [Mon, 14 Jan 2013 00:37:05 +0000 (01:37 +0100)]
limare: provided correct clear render state

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: bump up the texture and draw counts
Luc Verhaegen [Sun, 13 Jan 2013 23:05:17 +0000 (00:05 +0100)]
limare: bump up the texture and draw counts

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix multitexturing
Luc Verhaegen [Sun, 13 Jan 2013 00:02:55 +0000 (01:02 +0100)]
limare: fix multitexturing

For samplers, symbol->offset is the ordering in the texture
descriptor table.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add blend func
Luc Verhaegen [Mon, 18 Mar 2013 04:57:12 +0000 (05:57 +0100)]
limare: add blend func

Now we can succesfully replay q3a frame 36.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add support for the depth test
Luc Verhaegen [Fri, 11 Jan 2013 23:49:04 +0000 (00:49 +0100)]
limare: add support for the depth test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: introduce a template render_state
Luc Verhaegen [Fri, 11 Jan 2013 22:14:40 +0000 (23:14 +0100)]
limare: introduce a template render_state

This will be used to track the state of all the flags, and will be
copied to the actual draw specific render_states where the draw specific
info will get filled in.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add limare_texture_mipmap_upload()
Luc Verhaegen [Fri, 11 Jan 2013 21:35:02 +0000 (22:35 +0100)]
limare: add limare_texture_mipmap_upload()

Also, fix a bug in attribute buffer handling.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add limare_texture_parameters()
Luc Verhaegen [Thu, 10 Jan 2013 06:54:26 +0000 (07:54 +0100)]
limare: add limare_texture_parameters()

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: properly split vertex count between vs and plb
Luc Verhaegen [Thu, 10 Jan 2013 00:56:12 +0000 (01:56 +0100)]
limare: properly split vertex count between vs and plb

The VS simply works on all attributes, and outputs as many varyings and
vertices as there are attributes. Completely oblivious of the provided
elements list.

The PLBU then takes the elements list, or just _all_ or a given range of,
and drags the shaded attributes, or varyings, into the plbs.

We therefor have to be careful what we tell the VS to do, and about how
much space we really need for our varyings.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix varying map alignments
Luc Verhaegen [Wed, 9 Jan 2013 01:45:31 +0000 (02:45 +0100)]
limare: fix varying map alignments

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add typing for attributes
Luc Verhaegen [Tue, 8 Jan 2013 14:09:43 +0000 (15:09 +0100)]
limare: add typing for attributes

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add entry stride argument for attributes
Luc Verhaegen [Mon, 18 Mar 2013 04:48:43 +0000 (05:48 +0100)]
limare: add entry stride argument for attributes

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: provide a userspace sync.
Luc Verhaegen [Mon, 7 Jan 2013 00:40:50 +0000 (01:40 +0100)]
limare: provide a userspace sync.

It takes a while before geometry heavy gp jobs have been fully written
out. Now we can read a bit of memory from userspace to see when we can
start the pp.

Also fix some mysteriously vanished code in the plb setup, and
fix a stupid buffer overrun.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoPLB pattern stuff.
Luc Verhaegen [Sun, 6 Jan 2013 22:00:45 +0000 (23:00 +0100)]
PLB pattern stuff.

splitme.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add first pass at depth clear draw
Luc Verhaegen [Sat, 5 Jan 2013 00:55:19 +0000 (01:55 +0100)]
limare: add first pass at depth clear draw

This is a special case which only has a fragment shader bit.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agowip commit.
Luc Verhaegen [Tue, 1 Jan 2013 21:43:42 +0000 (22:43 +0100)]
wip commit.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add indices buffer support
Luc Verhaegen [Thu, 27 Dec 2012 16:10:38 +0000 (17:10 +0100)]
limare: add indices buffer support

Now the multiple render works in limare.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add attribute buffers
Luc Verhaegen [Thu, 27 Dec 2012 01:15:40 +0000 (02:15 +0100)]
limare: add attribute buffers

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add support for multiple textures
Luc Verhaegen [Wed, 26 Dec 2012 12:15:51 +0000 (13:15 +0100)]
limare: add support for multiple textures

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add rudimentary support for multiple programs
Luc Verhaegen [Tue, 18 Dec 2012 02:55:18 +0000 (03:55 +0100)]
limare: add rudimentary support for multiple programs

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: rename limare_new/flush to limare_frame_new/flush
Luc Verhaegen [Mon, 17 Dec 2012 23:08:10 +0000 (00:08 +0100)]
limare: rename limare_new/flush to limare_frame_new/flush

This covers the load better.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests:multiple: turn things the gl way around
Luc Verhaegen [Sun, 16 Dec 2012 02:22:39 +0000 (03:22 +0100)]
limare:tests:multiple: turn things the gl way around

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoAdd BGR565 texture support.
Luc Verhaegen [Sun, 16 Dec 2012 01:22:52 +0000 (02:22 +0100)]
Add BGR565 texture support.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoadd rgba support.
Luc Verhaegen [Fri, 14 Dec 2012 17:32:49 +0000 (18:32 +0100)]
add rgba support.

Also changes quite a few things everywhere else to closer match
gl.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agoAdd egl test with 3 programs, 3 textures and 4 draws
Luc Verhaegen [Fri, 14 Dec 2012 11:51:42 +0000 (12:51 +0100)]
Add egl test with 3 programs, 3 textures and 4 draws

1 Milky way background (1 program, 1 texture).
1 flat grey cube (1 program).
1 flat textured cube (1 program, 1 texture).
1 companion cube (1 texture, reuses previous program).

This should get us up to the point of handling N textures and N
programs.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:mipmaps: add 24bit swizzling and mipmapping
Luc Verhaegen [Thu, 13 Dec 2012 14:28:59 +0000 (15:28 +0100)]
limare:mipmaps: add 24bit swizzling and mipmapping

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add initial mipmapping
Luc Verhaegen [Wed, 12 Dec 2012 22:31:05 +0000 (23:31 +0100)]
limare: add initial mipmapping

Close, but not perfect for NPOT

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add egl mipmap test
Luc Verhaegen [Mon, 18 Mar 2013 04:38:19 +0000 (05:38 +0100)]
limare:tests: add egl mipmap test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: introduce limare_buffer_clear/swap
Luc Verhaegen [Wed, 5 Dec 2012 06:58:12 +0000 (07:58 +0100)]
limare: introduce limare_buffer_clear/swap

And remove a bunch of now pointless header inclusions from the tests.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: handle double buffering
Luc Verhaegen [Fri, 7 Dec 2012 09:03:05 +0000 (10:03 +0100)]
limare: handle double buffering

Vsynced double buffering!

This patch also reviews limare_fb creation and teardown.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: enable direct rendering to fb
Luc Verhaegen [Wed, 5 Dec 2012 05:02:49 +0000 (06:02 +0100)]
limare: enable direct rendering to fb

Companion cube at 1280x720 went up from 10.8 to 44fps

Introduced a new structure to retain all the FB specific information.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:fb: only pass limare_state to fb_dump
Luc Verhaegen [Mon, 3 Dec 2012 13:01:22 +0000 (14:01 +0100)]
limare:fb: only pass limare_state to fb_dump

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add some framerate printing
Luc Verhaegen [Mon, 3 Dec 2012 10:40:01 +0000 (11:40 +0100)]
limare: add some framerate printing

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: only open and map the fb once
Luc Verhaegen [Mon, 3 Dec 2012 10:03:34 +0000 (11:03 +0100)]
limare: only open and map the fb once

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add quad drawing mode.
Luc Verhaegen [Wed, 28 Nov 2012 18:22:35 +0000 (19:22 +0100)]
limare: add quad drawing mode.

With added test.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add test for lima_draw_elements
Luc Verhaegen [Wed, 28 Nov 2012 18:21:41 +0000 (19:21 +0100)]
limare:tests: add test for lima_draw_elements

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add lima_draw_elements
Luc Verhaegen [Tue, 27 Nov 2012 15:46:47 +0000 (16:46 +0100)]
limare: add lima_draw_elements

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add egl test for indexed draws
Luc Verhaegen [Wed, 28 Nov 2012 18:18:56 +0000 (19:18 +0100)]
limare:tests: add egl test for indexed draws

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:plbu_commands_draw_add: rename info to plbu
Luc Verhaegen [Mon, 26 Nov 2012 17:50:42 +0000 (18:50 +0100)]
limare:plbu_commands_draw_add: rename info to plbu

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: move attributes to aux storage
Luc Verhaegen [Wed, 28 Nov 2012 00:08:21 +0000 (01:08 +0100)]
limare: move attributes to aux storage

And re-use the attribute for all draws.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add spinning companion cube
Luc Verhaegen [Wed, 28 Nov 2012 18:15:59 +0000 (19:15 +0100)]
limare:tests: add spinning companion cube

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: make draw memory more dynamic
Luc Verhaegen [Tue, 27 Nov 2012 22:58:36 +0000 (23:58 +0100)]
limare: make draw memory more dynamic

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add cube companion test
Luc Verhaegen [Wed, 28 Nov 2012 18:11:40 +0000 (19:11 +0100)]
limare:tests: add cube companion test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: review memory space taken by different parts
Luc Verhaegen [Tue, 27 Nov 2012 11:04:16 +0000 (12:04 +0100)]
limare: review memory space taken by different parts

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: handle texture memory like other aux memory
Luc Verhaegen [Mon, 26 Nov 2012 23:51:32 +0000 (00:51 +0100)]
limare: handle texture memory like other aux memory

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: multiply varying maps with the vertex count
Luc Verhaegen [Tue, 27 Nov 2012 22:47:24 +0000 (23:47 +0100)]
limare: multiply varying maps with the vertex count

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add tile heap
Luc Verhaegen [Mon, 26 Nov 2012 23:40:21 +0000 (00:40 +0100)]
limare: add tile heap

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: fix memleak in attaching the viewport transform
Luc Verhaegen [Tue, 27 Nov 2012 22:46:42 +0000 (23:46 +0100)]
limare: fix memleak in attaching the viewport transform

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add spinning textured cube
Luc Verhaegen [Wed, 28 Nov 2012 18:07:08 +0000 (19:07 +0100)]
limare:tests: add spinning textured cube

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add dual frame tracking
Luc Verhaegen [Mon, 26 Nov 2012 20:51:50 +0000 (21:51 +0100)]
limare: add dual frame tracking

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add destructor for frames
Luc Verhaegen [Tue, 27 Nov 2012 14:09:07 +0000 (15:09 +0100)]
limare: add destructor for frames

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: move frame memory to offset 0x100000
Luc Verhaegen [Tue, 27 Nov 2012 11:57:13 +0000 (12:57 +0100)]
limare: move frame memory to offset 0x100000

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: make memory mapping per block
Luc Verhaegen [Mon, 26 Nov 2012 05:43:11 +0000 (06:43 +0100)]
limare: make memory mapping per block

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: move frame specific data to its own structure
Luc Verhaegen [Tue, 27 Nov 2012 14:16:34 +0000 (15:16 +0100)]
limare: move frame specific data to its own structure

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: move destination image to the top structure
Luc Verhaegen [Mon, 26 Nov 2012 05:41:09 +0000 (06:41 +0100)]
limare: move destination image to the top structure

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: create struct program
Luc Verhaegen [Wed, 28 Nov 2012 17:50:42 +0000 (18:50 +0100)]
limare: create struct program

This creates a tiny bit of structure in this mess :)

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: rearrange plb memory usage
Luc Verhaegen [Tue, 27 Nov 2012 21:50:03 +0000 (22:50 +0100)]
limare: rearrange plb memory usage

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: pass offset separately to pp_info_create
Luc Verhaegen [Tue, 27 Nov 2012 21:48:24 +0000 (22:48 +0100)]
limare: pass offset separately to pp_info_create

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add textured cube limare test
Luc Verhaegen [Wed, 28 Nov 2012 18:03:15 +0000 (19:03 +0100)]
limare:tests: add textured cube limare test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add fragment parameters unknown04 to the render shader address
Luc Verhaegen [Tue, 27 Nov 2012 20:54:28 +0000 (21:54 +0100)]
limare: add fragment parameters unknown04 to the render shader address

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add textured cube egl test
Luc Verhaegen [Wed, 28 Nov 2012 17:55:31 +0000 (18:55 +0100)]
limare:tests: add textured cube egl test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: calculate symbol size based on precision
Luc Verhaegen [Tue, 27 Nov 2012 20:37:00 +0000 (21:37 +0100)]
limare: calculate symbol size based on precision

And stop providing float sizes as part of the uniform declaration.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare:tests: add limare texture test
Luc Verhaegen [Tue, 27 Nov 2012 13:37:27 +0000 (14:37 +0100)]
limare:tests: add limare texture test

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: add initial texture support
Luc Verhaegen [Tue, 27 Nov 2012 21:42:00 +0000 (22:42 +0100)]
limare: add initial texture support

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: introduce varying maps
Luc Verhaegen [Tue, 27 Nov 2012 22:41:05 +0000 (23:41 +0100)]
limare: introduce varying maps

This the first step into properly understanding how varyings are passed
between the GP and the PP. By mapping things properly, we can now
correctly determine the flags and types that we need to pass into the
plbu. We treat gl_Position separately, as the PP treats this separately
and the plbu needs to have a special type for this.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: improve symbol parsing
Luc Verhaegen [Tue, 27 Nov 2012 17:09:00 +0000 (18:09 +0100)]
limare: improve symbol parsing

Signed-off-by: Luc Verhaegen <libv@skynet.be>
5 years agolimare: increase mem_size
Luc Verhaegen [Tue, 27 Nov 2012 18:11:06 +0000 (19:11 +0100)]
limare: increase mem_size

Signed-off-by: Luc Verhaegen <libv@skynet.be>