ruffle/render/naga-agal/tests/snapshots
Aaron Hill 2748b95c86 avm2: Improve Stage3D support for textures, register types, and opcodes
This is a very large diff, but most of it comes from test files and
output.

This PR ads partial support for the following Stage3D shader features:
* Normal (square), rectangle, and cube textures
* Varying and temporary registers
* Lots of opcodes

The combination of these allows us to get a raytracing program
fully working in Ruffle. I've included it as image test.
Currently, this test is very slow (about 90 seconds on my machine),
as the code I'm using (https://github.com/saharan/OGSL) includes
its own shader language and compiler. THe raytracing demo
first compiles its own shader language to AGAL, and then starts
rendering the scene.

Limitations:
* Many opcodes are still unimplemented
* Most non-default texture options (e.g. mipmaps) are not implemented
2023-03-03 15:58:46 -06:00
..
wgsl__complex_raytrace-2.snap avm2: Improve Stage3D support for textures, register types, and opcodes 2023-03-03 15:58:46 -06:00
wgsl__complex_raytrace.snap avm2: Improve Stage3D support for textures, register types, and opcodes 2023-03-03 15:58:46 -06:00
wgsl__shaders-2.snap render: Add 'naga-agal' crate to compile AGAL shaders to Naga 2022-10-17 13:22:02 -05:00
wgsl__shaders-3.snap avm2: Improve Stage3D support for textures, register types, and opcodes 2023-03-03 15:58:46 -06:00
wgsl__shaders.snap render: Add 'naga-agal' crate to compile AGAL shaders to Naga 2022-10-17 13:22:02 -05:00