LCOV - code coverage report
Current view: top level - source/renderer/backend/dummy - ShaderProgram.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 0 12 0.0 %
Date: 2026-12-03 01:19:39 Functions: 0 7 0.0 %

          Line data    Source code
       1             : /* Copyright (C) 2025 Wildfire Games.
       2             :  * This file is part of 0 A.D.
       3             :  *
       4             :  * 0 A.D. is free software: you can redistribute it and/or modify
       5             :  * it under the terms of the GNU General Public License as published by
       6             :  * the Free Software Foundation, either version 2 of the License, or
       7             :  * (at your option) any later version.
       8             :  *
       9             :  * 0 A.D. is distributed in the hope that it will be useful,
      10             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      11             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      12             :  * GNU General Public License for more details.
      13             :  *
      14             :  * You should have received a copy of the GNU General Public License
      15             :  * along with 0 A.D.  If not, see <http://www.gnu.org/licenses/>.
      16             :  */
      17             : 
      18             : #include "precompiled.h"
      19             : 
      20             : #include "ShaderProgram.h"
      21             : 
      22             : #include "ps/CStrIntern.h"
      23             : #include "renderer/backend/dummy/Device.h"
      24             : 
      25             : #include <vector>
      26             : 
      27             : namespace Renderer
      28             : {
      29             : 
      30             : namespace Backend
      31             : {
      32             : 
      33             : namespace Dummy
      34             : {
      35             : 
      36           0 : CShaderProgram::CShaderProgram() = default;
      37             : 
      38           0 : CShaderProgram::~CShaderProgram() = default;
      39             : 
      40             : // static
      41           0 : std::unique_ptr<CShaderProgram> CShaderProgram::Create(CDevice* device)
      42             : {
      43           0 :     std::unique_ptr<CShaderProgram> shaderProgram(new CShaderProgram());
      44           0 :     shaderProgram->m_Device = device;
      45           0 :     return shaderProgram;
      46             : }
      47             : 
      48           0 : IDevice* CShaderProgram::GetDevice()
      49             : {
      50           0 :     return m_Device;
      51             : }
      52             : 
      53           0 : int32_t CShaderProgram::GetBindingSlot(const CStrIntern /*name*/) const
      54             : {
      55           0 :     return -1;
      56             : }
      57             : 
      58           0 : std::vector<VfsPath> CShaderProgram::GetFileDependencies() const
      59             : {
      60           0 :     return {};
      61             : }
      62             : 
      63             : } // namespace Dummy
      64             : 
      65             : } // namespace Backend
      66             : 
      67             : } // namespace Renderer

Generated by: LCOV version 1.16