mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:27:45 +00:00
LibSoftGPU: Implement shader processor for SoftGPU ISA
This adds a shader processor that executes our ISA when a fragment shader is currently bound to the device.
This commit is contained in:
parent
1e548a84d6
commit
b18bf702ea
5 changed files with 170 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <LibSoftGPU/Config.h>
|
||||
#include <LibSoftGPU/Sampler.h>
|
||||
#include <LibSoftGPU/Shader.h>
|
||||
#include <LibSoftGPU/ShaderProcessor.h>
|
||||
#include <LibSoftGPU/Triangle.h>
|
||||
|
||||
namespace SoftGPU {
|
||||
|
@ -120,6 +121,7 @@ private:
|
|||
Array<GPU::StencilConfiguration, 2u> m_stencil_configuration;
|
||||
Array<GPU::TextureUnitConfiguration, GPU::NUM_TEXTURE_UNITS> m_texture_unit_configuration;
|
||||
RefPtr<Shader> m_current_fragment_shader;
|
||||
ShaderProcessor m_shader_processor;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue