mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
LibSoftGPU: Update coverage bits after alpha testing
Also skip the test for the `::Always` alpha test function in the hot loop. This test function is very unlikely to be set, so leave that up to `::test_alpha()`.
This commit is contained in:
parent
1a338844fa
commit
421a80bf43
2 changed files with 20 additions and 15 deletions
|
@ -93,7 +93,7 @@ private:
|
|||
void rasterize_triangle(Triangle&);
|
||||
void setup_blend_factors();
|
||||
void shade_fragments(PixelQuad&);
|
||||
bool test_alpha(PixelQuad&);
|
||||
void test_alpha(PixelQuad&);
|
||||
|
||||
RefPtr<FrameBuffer<GPU::ColorType, GPU::DepthType, GPU::StencilType>> m_frame_buffer {};
|
||||
GPU::RasterizerOptions m_options;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue