<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp, branch main</title>
<subtitle>Nintendo Switch emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/'/>
<entry>
<title>shader_recompiler: Implement vertex count lookup for Geometry stage</title>
<updated>2025-05-12T11:46:19+00:00</updated>
<author>
<name>Zephyron</name>
<email>zephyron@citron-emu.orgq</email>
</author>
<published>2025-02-28T07:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=9cd38cd8bf91dd4d67fc9865a83ccccd5860de26'/>
<id>9cd38cd8bf91dd4d67fc9865a83ccccd5860de26</id>
<content type='text'>
Add proper handling of input topologies in the Geometry stage for all three
shader backends (GLASM, GLSL, SPIRV). This implementation uses a lookup table
approach to determine vertex counts based on input topology type (Points,
Lines, LinesAdjacency, Triangles, TrianglesAdjacency) and shifts the vertex
count by 16 bits as required by the invocation info format.

Additional changes:
- Fixed TessellationControl and TessellationEval stages to properly break
  after emitting code
- Added proper header include for runtime_info.h in GLASM backend
- Improved code documentation with clear commenting patterns

This change ensures accurate geometry shader behavior across all backends,
improving compatibility with games that rely on proper vertex count reporting.

Signed-off-by: Zephyron &lt;zephyron@citron-emu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add proper handling of input topologies in the Geometry stage for all three
shader backends (GLASM, GLSL, SPIRV). This implementation uses a lookup table
approach to determine vertex counts based on input topology type (Points,
Lines, LinesAdjacency, Triangles, TrianglesAdjacency) and shifts the vertex
count by 16 bits as required by the invocation info format.

Additional changes:
- Fixed TessellationControl and TessellationEval stages to properly break
  after emitting code
- Added proper header include for runtime_info.h in GLASM backend
- Improved code documentation with clear commenting patterns

This change ensures accurate geometry shader behavior across all backends,
improving compatibility with games that rely on proper vertex count reporting.

Signed-off-by: Zephyron &lt;zephyron@citron-emu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shader: Implement EmitInvocationInfo across all backends</title>
<updated>2025-05-11T11:17:03+00:00</updated>
<author>
<name>Zephyron</name>
<email>zephyron@citron-emu.org</email>
</author>
<published>2025-01-20T07:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=3189fe941a9a63895e9e33fc121a8f386bc0cc1d'/>
<id>3189fe941a9a63895e9e33fc121a8f386bc0cc1d</id>
<content type='text'>
- Add proper invocation info handling for tessellation and fragment stages
- Return patch vertices info shifted by 16 bits for tessellation stages
- Return sample mask shifted by 16 bits for fragment stage
- Return standard format (0x00ff0000) for compute and other stages
- Implement consistently across SPIRV, GLSL, and GLASM backends
- Remove stubbed warning message
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add proper invocation info handling for tessellation and fragment stages
- Return patch vertices info shifted by 16 bits for tessellation stages
- Return sample mask shifted by 16 bits for fragment stage
- Return standard format (0x00ff0000) for compute and other stages
- Implement consistently across SPIRV, GLSL, and GLASM backends
- Remove stubbed warning message
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(shader): implement geometry shader invocation info</title>
<updated>2024-12-20T15:24:58+00:00</updated>
<author>
<name>EmulationEnjoyer</name>
<email>emulationenjoyer@noreply.localhost</email>
</author>
<published>2024-11-12T21:21:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=2fbd6346f9a0b7564f214f0f7191899cd95e13c7'/>
<id>2fbd6346f9a0b7564f214f0f7191899cd95e13c7</id>
<content type='text'>
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage

ref: https://git.citron-emu.org/Citron/Citron/commit/1266fad68128b3779dcd9bbb6c5f77ec1055e2e6#diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage

ref: https://git.citron-emu.org/Citron/Citron/commit/1266fad68128b3779dcd9bbb6c5f77ec1055e2e6#diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SR_WScaleFactorXY/SR_WScaleFactorZ stubs for Prince of Persia (#5)</title>
<updated>2024-12-20T15:24:57+00:00</updated>
<author>
<name>darktux</name>
<email>darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion</email>
</author>
<published>2024-04-05T23:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=bd2c29fed8268dad8b46bdedca1db23703bc75bd'/>
<id>bd2c29fed8268dad8b46bdedca1db23703bc75bd</id>
<content type='text'>
Pulled in and cleaned up from Sudachi

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux &lt;darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion&gt;
Co-committed-by: darktux &lt;darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pulled in and cleaned up from Sudachi

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux &lt;darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion&gt;
Co-committed-by: darktux &lt;darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for Princess Peach: Showtime!</title>
<updated>2024-12-20T15:24:57+00:00</updated>
<author>
<name>Jarrod Norwell</name>
<email>official.antique@gmail.com</email>
</author>
<published>2024-03-23T03:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=9d3b0b832f076c47f537774cfaca98ae5165c3c3'/>
<id>9d3b0b832f076c47f537774cfaca98ae5165c3c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shader_recompiler: ignore clip distances beyond driver support level</title>
<updated>2023-12-19T03:25:14+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2023-12-19T03:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=94244437de48561cc299c5afc4ee70c9dcd086ce'/>
<id>94244437de48561cc299c5afc4ee70c9dcd086ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>renderer_vulkan: ignore viewport stores on non-supporting drivers</title>
<updated>2023-11-19T16:27:12+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2023-11-19T16:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=473caaff5b02dc75404943dee6b12234995136d4'/>
<id>473caaff5b02dc75404943dee6b12234995136d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Manually robust on Maxwell and earlier</title>
<updated>2023-10-19T18:54:31+00:00</updated>
<author>
<name>Kelebek1</name>
<email>eeeedddccc@hotmail.co.uk</email>
</author>
<published>2023-10-14T21:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=e02ee8e59d099692678bed09332b7d8aad1ce271'/>
<id>e02ee8e59d099692678bed09332b7d8aad1ce271</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement scaled vertex buffer format emulation</title>
<updated>2023-06-03T07:05:31+00:00</updated>
<author>
<name>Billy Laws</name>
<email>blaws05@gmail.com</email>
</author>
<published>2023-02-18T18:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=158a1896ec91c46a43fa3172fa472e6fc7c9eb05'/>
<id>158a1896ec91c46a43fa3172fa472e6fc7c9eb05</id>
<content type='text'>
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Tears of the Kingdom flickering clouds and depths.</title>
<updated>2023-05-11T18:25:24+00:00</updated>
<author>
<name>Kelebek1</name>
<email>eeeedddccc@hotmail.co.uk</email>
</author>
<published>2023-05-11T18:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=e42b4a16b6024c18e860c17c5c33d28f4dc37c58'/>
<id>e42b4a16b6024c18e860c17c5c33d28f4dc37c58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
