Dustin ZanderandClaude Opus 5.5 49bfab07a5 nv2a: Use rgba swizzles for color values in generated GLSL
The fixed-function vertex shader generator mixed `.rgb` and `.xyz` when
operating on colors. Switch the remaining color accesses (light and
material color defines, diffuse/specular light accumulation into
oD0/oD1, the non-separate specular sum, and the specular alpha override
on vtxD1/vtxB1) to the `rgba` aliases so it is obvious which vectors
hold colors.

The `rgba` and `xyzw` swizzle sets are aliases for the same components,
so the generated shaders are functionally identical. Non-color vectors
(positions, normals, texture coordinates, light/spot/specular
coefficients) are left untouched.

Resolves #3115.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:08:43 -07:00
2026-01-21 18:40:07 -07:00
2026-01-18 16:36:55 -07:00
2026-01-18 16:36:55 -07:00
2026-01-18 16:36:55 -07:00
…
2026-01-21 18:40:07 -07:00
2025-12-05 15:37:18 +00:00
…
2025-09-18 21:21:29 +02:00
2026-01-18 16:36:55 -07:00
2026-01-18 16:36:55 -07:00
…
2026-01-18 16:36:55 -07:00
2025-11-11 22:06:09 +01:00
2025-10-01 11:22:07 -04:00
2025-07-03 13:42:28 +02:00
…
…
2025-06-11 12:17:17 +02:00
2026-01-18 16:36:55 -07:00
2026-01-18 16:36:55 -07:00
2025-09-17 19:00:56 +02:00
2026-01-18 16:36:55 -07:00
…
…
…
…
2026-01-18 16:36:55 -07:00
2026-01-21 18:40:07 -07:00
2026-10-19 02:28:52 -07:00
2026-01-18 16:36:55 -07:00
2026-01-18 16:36:55 -07:00
…
…
…
…
2026-01-04 23:38:25 -07:00
2026-01-04 23:38:25 -07:00
2026-01-18 16:36:55 -07:00
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
726 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%