Yuri Kunde Schlesner
067b9b54bd
VideoCore: Consistently use shader configuration to load attributes
9 years ago
Yuri Kunde Schlesner
a4a4b6408c
VideoCore: Rename some types to more accurate names
9 years ago
Yuri Kunde Schlesner
ab0b74b0f3
VideoCore/Shader: Move entry_point to SetupBatch
9 years ago
Yuri Kunde Schlesner
1994f1a6f2
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
9 years ago
Yuri Kunde Schlesner
46fc50931f
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
9 years ago
Yuri Kunde Schlesner
931a2b0ca4
VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines
9 years ago
Yuri Kunde Schlesner
73e7bc2592
VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be
split in a following commit.
9 years ago
Yuri Kunde Schlesner
7d4827f520
VideoCore/Shader: Extract DebugData out from UnitState
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Jannik Vogel
208a74a882
Use new shader-jit signature for interpreter
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Lioncash
2cd98a45cb
video_core: Reorganize headers
10 years ago
Lioncash
c95206abdd
video_core: Remove unnecessary includes from headers
10 years ago
Tony Wasserka
1c1a9ab09b
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
11 years ago
bunnei
5794310781
Shader: Define a common interface for running vertex shader programs.
11 years ago
bunnei
2d100ebae3
Shader: Move shader code to its own subdirectory, "shader".
11 years ago
bunnei
f622a78544
GPU: Refactor "VertexShader" namespace to "Shader".
- Also renames "vertex_shader.*" to "shader_interpreter.*"
11 years ago
Tony Wasserka
33568494af
Pica/Shader: Add geometry shader definitions.
11 years ago
Emmanuel Gil Peyrot
22ae87530b
Common: Cleanup emu_window includes.
11 years ago
bunnei
1b42d55a9d
Pica: Create 'State' structure and move state memory there.
11 years ago
Subv
0e5ca080a8
GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
11 years ago
Tony Wasserka
b7a48c422a
Pica/CommandProcessor: Add support for integer uniforms.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Tony Wasserka
aff808b2fd
Pica: Add support for boolean uniforms.
11 years ago
Tony Wasserka
b85524c760
Pica/VertexShader: Some cleanups using std::array.
11 years ago
Tony Wasserka
ce36ad454e
Pica/VertexShader: Support negating src2.
11 years ago
Tony Wasserka
8ce1d32460
Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones.
11 years ago
Tony Wasserka
fd2539121c
Pica: Initial support for multitexturing.
11 years ago
Lioncash
bd76783d91
vertex_shader: Fix control reaches end of function warning
11 years ago
Lioncash
eb5054e6eb
Fix warnings in video_core
11 years ago
Tony Wasserka
162d641a30
Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.
- Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work).
- The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors.
- Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>).
12 years ago
Tony Wasserka
62c36a4ef0
Pica/VertexShader: Fix a bug in the bitfield definitions and add the "negate" field for swizzlers.
12 years ago
Tony Wasserka
c526512619
Pica: Add vertex shader implementation.
12 years ago