<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu-mainline/src/video_core/pica_state.h, branch master</title>
<subtitle>A backup of the Yuzu mainline repo. Only includes the master branch, nothing else.
</subtitle>
<id>https://git.benis.co.uk/yuzu-mainline/atom?h=master</id>
<link rel='self' href='https://git.benis.co.uk/yuzu-mainline/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/'/>
<updated>2018-01-13T02:11:03+00:00</updated>
<entry>
<title>Remove references to PICA and rasterizers in video_core</title>
<updated>2018-01-13T02:11:03+00:00</updated>
<author>
<name>James Rowe</name>
<email>jroweboy@gmail.com</email>
</author>
<published>2018-01-12T03:07:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=1d28b2e142f845773e2b90e267d9632e196a99b9'/>
<id>urn:sha1:1d28b2e142f845773e2b90e267d9632e196a99b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pica/command_processor: build geometry pipeline and run geometry shader</title>
<updated>2017-08-19T07:13:20+00:00</updated>
<author>
<name>wwylele</name>
<email>wwylele@gmail.com</email>
</author>
<published>2017-08-04T14:03:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=0f35755572fe63534813528de9a0710193f2e335'/>
<id>urn:sha1:0f35755572fe63534813528de9a0710193f2e335</id>
<content type='text'>
The geometry pipeline manages data transfer between VS, GS and primitive assembler. It has known four modes:
 - no GS mode: sends VS output directly to the primitive assembler (what citra currently does)
 - GS mode 0: sends VS output to GS input registers, and sends GS output to primitive assembler
 - GS mode 1: sends VS output to GS uniform registers, and sends GS output to primitive assembler. It also takes an index from the index buffer at the beginning of each primitive for determine the primitive size.
 - GS mode 2: similar to mode 1, but doesn't take the index and uses a fixed primitive size.
hwtest shows that immediate mode also supports GS (at least for mode 0), so the geometry pipeline gets refactored into its own class for supporting both drawing mode.
In the immediate mode, some games don't set the pipeline registers to a valid value until the first attribute input, so a geometry pipeline reset flag is set in `pipeline.vs_default_attributes_setup.index` trigger, and the actual pipeline reconfigure is triggered in the first attribute input.
In the normal drawing mode with index buffer, the vertex cache is a little bit modified to support the geometry pipeline. Instead of OutputVertex, it now holds AttributeBuffer, which is the input to the geometry pipeline. The AttributeBuffer-&gt;OutputVertex conversion is done inside the pipeline vertex handler. The actual hardware vertex cache is believed to be implemented in a similar way (because this is the only way that makes sense).
Both geometry pipeline and GS unit rely on states preservation across drawing call, so they are put into the global state. In the future, the other three vertex shader units should be also placed in the global state, and a scheduler should be implemented on top of the four units. Note that the current gs_unit already allows running VS on it in the future.
</content>
</entry>
<entry>
<title>SwRasterizer/Lighting: Do not use global state in LookupLightingLut.</title>
<updated>2017-07-11T16:39:15+00:00</updated>
<author>
<name>Subv</name>
<email>subv2112@gmail.com</email>
</author>
<published>2017-06-28T17:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=7bc467e8725c6751eb44ea45ff2203af8692cda1'/>
<id>urn:sha1:7bc467e8725c6751eb44ea45ff2203af8692cda1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gl_rasterizer: use texture buffer for fog LUT</title>
<updated>2017-06-22T17:41:00+00:00</updated>
<author>
<name>wwylele</name>
<email>wwylele@gmail.com</email>
</author>
<published>2017-06-22T14:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=8978ecb09caa91424b7117a91d22e7f54040e701'/>
<id>urn:sha1:8978ecb09caa91424b7117a91d22e7f54040e701</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gl_rasterizer/lighting: fix LUT interpolation</title>
<updated>2017-06-21T20:13:06+00:00</updated>
<author>
<name>wwylele</name>
<email>wwylele@gmail.com</email>
</author>
<published>2017-06-16T11:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=ab60414122184851415a27ae8bcacb4aab0504b6'/>
<id>urn:sha1:ab60414122184851415a27ae8bcacb4aab0504b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pica/swrasterizer: implement procedural texture</title>
<updated>2017-05-20T10:50:50+00:00</updated>
<author>
<name>wwylele</name>
<email>wwylele@gmail.com</email>
</author>
<published>2017-04-17T07:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=ade45b5b9930b52b6a1d399306539073e8e2196d'/>
<id>urn:sha1:ade45b5b9930b52b6a1d399306539073e8e2196d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>VideoCore: Move Regs to its own file</title>
<updated>2017-02-04T21:59:12+00:00</updated>
<author>
<name>Yuri Kunde Schlesner</name>
<email>yuriks@yuriks.net</email>
</author>
<published>2017-01-28T21:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=5759d94b5c5b11af426668d046d206839bc5e802'/>
<id>urn:sha1:5759d94b5c5b11af426668d046d206839bc5e802</id>
<content type='text'>
</content>
</entry>
<entry>
<title>VideoCore: Rename some types to more accurate names</title>
<updated>2017-01-30T05:31:36+00:00</updated>
<author>
<name>Yuri Kunde Schlesner</name>
<email>yuriks@yuriks.net</email>
</author>
<published>2016-12-19T00:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=ab6954e942654fb003964fc95c0846aa8b89ac91'/>
<id>urn:sha1:ab6954e942654fb003964fc95c0846aa8b89ac91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove empty newlines in #include blocks.</title>
<updated>2016-09-21T02:15:47+00:00</updated>
<author>
<name>Emmanuel Gil Peyrot</name>
<email>linkmauve@linkmauve.fr</email>
</author>
<published>2016-09-20T15:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=ebdae19fd226104baec712b9da9939ff82ef3c3a'/>
<id>urn:sha1:ebdae19fd226104baec712b9da9939ff82ef3c3a</id>
<content type='text'>
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
</content>
</entry>
<entry>
<title>Sources: Run clang-format on everything.</title>
<updated>2016-09-18T00:38:01+00:00</updated>
<author>
<name>Emmanuel Gil Peyrot</name>
<email>linkmauve@linkmauve.fr</email>
</author>
<published>2016-09-18T00:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/yuzu-mainline/commit/?id=dc8479928c5aee4c6ad6fe4f59006fb604cee701'/>
<id>urn:sha1:dc8479928c5aee4c6ad6fe4f59006fb604cee701</id>
<content type='text'>
</content>
</entry>
</feed>
