Skip to content

Commit c665c65

Browse files
committed
fix font psos
1 parent 8499a0c commit c665c65

File tree

5 files changed

+2
-24
lines changed

5 files changed

+2
-24
lines changed

sources/RenderSystem/autogen/enums.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ enum class PSO: int
1919
Lighting,
2020
VoxelDownsample,
2121
FontRender,
22-
FontRenderClip,
2322
RenderBoxes,
2423
RenderToDS,
2524
QualityColor,

sources/RenderSystem/autogen/includes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
#include "pso\Lighting.h"
8484
#include "pso\VoxelDownsample.h"
8585
#include "pso\FontRender.h"
86-
#include "pso\FontRenderClip.h"
8786
#include "pso\RenderBoxes.h"
8887
#include "pso\RenderToDS.h"
8988
#include "pso\QualityColor.h"

sources/RenderSystem/autogen/pso.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ void init_pso(enum_array<PSO, PSOBase::ptr>& pso)
1111
pso[PSO::Lighting] = std::make_shared<PSOS::Lighting>();
1212
pso[PSO::VoxelDownsample] = std::make_shared<PSOS::VoxelDownsample>();
1313
pso[PSO::FontRender] = std::make_shared<PSOS::FontRender>();
14-
pso[PSO::FontRenderClip] = std::make_shared<PSOS::FontRenderClip>();
1514
pso[PSO::RenderBoxes] = std::make_shared<PSOS::RenderBoxes>();
1615
pso[PSO::RenderToDS] = std::make_shared<PSOS::RenderToDS>();
1716
pso[PSO::QualityColor] = std::make_shared<PSOS::QualityColor>();

sources/RenderSystem/autogen/pso/FontRender.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace PSOS
2626
mpso.rtv_formats = { DXGI_FORMAT::DXGI_FORMAT_R8G8B8A8_UNORM };
2727
mpso.blend = { };
2828
mpso.topology = D3D12_PRIMITIVE_TOPOLOGY_TYPE::D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT;
29+
mpso.enable_depth = false;
2930
return mpso;
3031
}
3132
};

sources/SIGParser/sigs/font_render.sig

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ struct FontRenderingGlyphs
2626
StructuredBuffer<Glyph> data;
2727
}
2828

29-
3029
GraphicsPSO FontRender
3130
{
3231
root = DefaultLayout;
@@ -43,24 +42,5 @@ GraphicsPSO FontRender
4342
topology = POINT;
4443

4544
rtv = { DXGI_FORMAT_R8G8B8A8_UNORM };
46-
47-
}
48-
49-
GraphicsPSO FontRenderClip
50-
{
51-
root = DefaultLayout;
52-
53-
[EntryPoint = VS]
54-
vertex = font/vsSimple;
55-
56-
[EntryPoint = PS]
57-
pixel = font/psSimple;
58-
59-
[EntryPoint = GS]
60-
geometry = font/gsClip;
61-
62-
topology = POINT;
63-
64-
rtv = { DXGI_FORMAT_R8G8B8A8_UNORM };
65-
45+
enable_depth = false;
6646
}

0 commit comments

Comments
 (0)