Skip to content

Commit

Permalink
softgpu: Move draw pixel code to separate file.
Browse files Browse the repository at this point in the history
This separates things better anyway.  No major perf impact.
  • Loading branch information
unknownbrackets committed Nov 21, 2021
1 parent 938e6d8 commit 09dc380
Show file tree
Hide file tree
Showing 13 changed files with 560 additions and 446 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1580,6 +1580,8 @@ set(GPU_SOURCES
GPU/Math3D.h
GPU/Software/Clipper.cpp
GPU/Software/Clipper.h
GPU/Software/DrawPixel.cpp
GPU/Software/DrawPixel.h
GPU/Software/FuncId.cpp
GPU/Software/FuncId.h
GPU/Software/Lighting.cpp
Expand Down
2 changes: 2 additions & 0 deletions GPU/GPU.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@
<ClInclude Include="GPUState.h" />
<ClInclude Include="Math3D.h" />
<ClInclude Include="Software\Clipper.h" />
<ClInclude Include="Software\DrawPixel.h" />
<ClInclude Include="Software\Lighting.h" />
<ClInclude Include="Software\FuncId.h" />
<ClInclude Include="Software\Rasterizer.h" />
Expand Down Expand Up @@ -629,6 +630,7 @@
<ClCompile Include="GPUState.cpp" />
<ClCompile Include="Math3D.cpp" />
<ClCompile Include="Software\Clipper.cpp" />
<ClCompile Include="Software\DrawPixel.cpp" />
<ClCompile Include="Software\Lighting.cpp" />
<ClCompile Include="Software\FuncId.cpp" />
<ClCompile Include="Software\Rasterizer.cpp" />
Expand Down
6 changes: 6 additions & 0 deletions GPU/GPU.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@
<ClInclude Include="Software\FuncId.h">
<Filter>Software</Filter>
</ClInclude>
<ClInclude Include="Software\DrawPixel.h">
<Filter>Software</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Math3D.cpp">
Expand Down Expand Up @@ -536,5 +539,8 @@
<ClCompile Include="Software\FuncId.cpp">
<Filter>Software</Filter>
</ClCompile>
<ClCompile Include="Software\DrawPixel.cpp">
<Filter>Software</Filter>
</ClCompile>
</ItemGroup>
</Project>
Loading

0 comments on commit 09dc380

Please sign in to comment.