mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
Experimental version of a HUD which displays information about the hardware, driver version, and frames per second.
31 lines
731 B
C++
31 lines
731 B
C++
#pragma once
|
|
|
|
#include "dxvk_include.h"
|
|
|
|
namespace dxvk::util {
|
|
|
|
/**
|
|
* \brief Gets pipeline stage flags for shader stages
|
|
*
|
|
* \param [in] shaderStages Shader stage flags
|
|
* \returns Corresponding pipeline stage flags
|
|
*/
|
|
VkPipelineStageFlags pipelineStages(
|
|
VkShaderStageFlags shaderStages);
|
|
|
|
/**
|
|
* \brief Computes number of mip levels for an image
|
|
*
|
|
* \param [in] imageSize Size of the image
|
|
* \returns Number of mipmap layers
|
|
*/
|
|
uint32_t computeMipLevelCount(VkExtent3D imageSize);
|
|
|
|
}
|
|
|
|
bool operator == (VkExtent3D a, VkExtent3D b);
|
|
bool operator != (VkExtent3D a, VkExtent3D b);
|
|
|
|
bool operator == (VkExtent2D a, VkExtent2D b);
|
|
bool operator != (VkExtent2D a, VkExtent2D b);
|