diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 14:49:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 14:49:26 +0800 |
| commit | f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch) | |
| tree | ea1d61342cd29368e19135000ec2948813096205 /tools/gfx/cpu/cpu-pipeline-state.cpp | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'tools/gfx/cpu/cpu-pipeline-state.cpp')
| -rw-r--r-- | tools/gfx/cpu/cpu-pipeline-state.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/gfx/cpu/cpu-pipeline-state.cpp b/tools/gfx/cpu/cpu-pipeline-state.cpp index 7d2b6a636..d0de98532 100644 --- a/tools/gfx/cpu/cpu-pipeline-state.cpp +++ b/tools/gfx/cpu/cpu-pipeline-state.cpp @@ -10,18 +10,18 @@ using namespace Slang; namespace cpu { - ShaderProgramImpl* PipelineStateImpl::getProgram() - { - return static_cast<ShaderProgramImpl*>(m_program.Ptr()); - } +ShaderProgramImpl* PipelineStateImpl::getProgram() +{ + return static_cast<ShaderProgramImpl*>(m_program.Ptr()); +} - void PipelineStateImpl::init(const ComputePipelineStateDesc& inDesc) - { - PipelineStateDesc pipelineDesc; - pipelineDesc.type = PipelineType::Compute; - pipelineDesc.compute = inDesc; - initializeBase(pipelineDesc); - } +void PipelineStateImpl::init(const ComputePipelineStateDesc& inDesc) +{ + PipelineStateDesc pipelineDesc; + pipelineDesc.type = PipelineType::Compute; + pipelineDesc.compute = inDesc; + initializeBase(pipelineDesc); +} } // namespace cpu } // namespace gfx |
