Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/libs/dxmt-0.60/src/d3d11/d3d11_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MTLCompiledGraphicsPipeline
num_rtvs(pDesc->NumColorAttachments),
depth_stencil_format(pDesc->DepthStencilFormat),
topology_class(pDesc->TopologyClass), device_(pDevice),
pBlendState(pDesc->BlendState),
ready_(false), pBlendState(pDesc->BlendState),
RasterizationEnabled(pDesc->RasterizationEnabled),
SampleCount(pDesc->SampleCount) {
uint32_t unorm_output_reg_mask = 0;
Expand Down Expand Up @@ -163,7 +163,8 @@ class MTLCompiledComputePipeline
: public ComObject<IMTLCompiledComputePipeline> {
public:
MTLCompiledComputePipeline(MTLD3D11Device *pDevice, ManagedShader shader)
: ComObject<IMTLCompiledComputePipeline>(), device_(pDevice) {
: ComObject<IMTLCompiledComputePipeline>(), device_(pDevice),
ready_(false) {
ComputeShader = shader->get_shader(ShaderVariantDefault{});
}

Expand Down Expand Up @@ -236,4 +237,4 @@ CreateComputePipeline(MTLD3D11Device *pDevice, ManagedShader ComputeShader) {
return pipeline;
}

} // namespace dxmt
} // namespace dxmt
4 changes: 2 additions & 2 deletions src/libs/dxmt-0.60/src/d3d11/d3d11_pipeline_gs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MTLCompiledGeometryPipeline
: ComObject<IMTLCompiledGeometryPipeline>(),
num_rtvs(pDesc->NumColorAttachments),
depth_stencil_format(pDesc->DepthStencilFormat), device_(pDevice),
pBlendState(pDesc->BlendState),
ready_(false), pBlendState(pDesc->BlendState),
RasterizationEnabled(pDesc->RasterizationEnabled),
SampleCount(pDesc->SampleCount) {
uint32_t unorm_output_reg_mask = 0;
Expand Down Expand Up @@ -172,4 +172,4 @@ CreateGeometryPipeline(MTLD3D11Device *pDevice,
return pipeline;
}

} // namespace dxmt
} // namespace dxmt
4 changes: 2 additions & 2 deletions src/libs/dxmt-0.60/src/d3d11/d3d11_pipeline_tess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MTLCompiledTessellationPipeline
num_rtvs(pDesc->NumColorAttachments),
depth_stencil_format(pDesc->DepthStencilFormat),
topology_class(pDesc->TopologyClass), device_(pDevice),
pBlendState(pDesc->BlendState),
ready_(false), pBlendState(pDesc->BlendState),
RasterizationEnabled(pDesc->RasterizationEnabled),
SampleCount(pDesc->SampleCount) {
uint32_t unorm_output_reg_mask = 0;
Expand Down Expand Up @@ -223,4 +223,4 @@ CreateTessellationPipeline(MTLD3D11Device *pDevice,
return pipeline;
}

} // namespace dxmt
} // namespace dxmt
4 changes: 2 additions & 2 deletions src/libs/dxmt-0.60/src/d3d11/d3d11_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GeneralShaderCompileTask : public CompiledShader {
GeneralShaderCompileTask(MTLD3D11Device *pDevice, ManagedShader shader,
Proc &&proc)
: CompiledShader(), proc(std::forward<Proc>(proc)), device_(pDevice),
shader_(shader) {}
shader_(shader), ready_(false) {}

~GeneralShaderCompileTask() {}

Expand Down Expand Up @@ -367,4 +367,4 @@ CreateVariantShader(MTLD3D11Device *pDevice, ManagedShader shader,
pDevice, shader, std::move(proc));
}

} // namespace dxmt
} // namespace dxmt