diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2022-01-08 02:49:15 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-01-09 16:21:13 +0330 |
commit | 57215d0e1f3d7b8aa7ccc71a5280a765686fdbea (patch) | |
tree | 56d294316a7b83aa30b5c8fab67ca6c603a63811 /.gitignore | |
parent | 21cad2253545c7433f862e871fbccd7fbd7485a2 (diff) | |
download | serenity-57215d0e1f3d7b8aa7ccc71a5280a765686fdbea.zip |
LibSoftGPU: Allow arbitrary render target sizes
With the RASTERIZER_BLOCK_SIZE gone we can now render to any size, even
odd ones. We have to be careful to not generate out of bounds accesses
when calculating the render target and depth buffer pointers. Thus we
check the coverage mask and generate nullptrs for pixels that will not
be updated. This also masks out pixels that would touch the triangle but
are outside the render target/scissor rect bounds.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions