vk: profiler: rename slows to speeds (enough kekage)
This commit is contained in:
parent
5f38f3467d
commit
576b4163b9
|
@ -1,4 +1,4 @@
|
|||
#include "r_slows.h"
|
||||
#include "r_speeds.h"
|
||||
#include "vk_light.h" // For stats
|
||||
#include "shaders/ray_interop.h" // stats: struct LightCluster
|
||||
#include "vk_overlay.h"
|
||||
|
@ -327,7 +327,7 @@ static void togglePause( void ) {
|
|||
|
||||
}
|
||||
|
||||
void R_SlowsInit( void ) {
|
||||
void R_SpeedsInit( void ) {
|
||||
gEngine.Cmd_AddCommand("r_slows_toggle_pause", togglePause, "Toggle frame profiler pause");
|
||||
}
|
||||
|
|
@ -2,8 +2,9 @@
|
|||
#include "xash3d_types.h"
|
||||
#include <stdint.h>
|
||||
|
||||
void R_SlowsInit( void );
|
||||
void R_SpeedsInit( void );
|
||||
|
||||
void R_ShowExtendedProfilingData(uint32_t prev_frame_index, uint64_t gpu_frame_begin_ns, uint64_t gpu_frame_end_ns);
|
||||
|
||||
qboolean R_SpeedsMessage( char *out, size_t size );
|
||||
// Called from the engine into ref_api to get the latest speeds info
|
||||
qboolean R_SpeedsMessage( char *out, size_t size );
|
|
@ -18,7 +18,7 @@
|
|||
#include "vk_nv_aftermath.h"
|
||||
#include "vk_devmem.h"
|
||||
#include "vk_commandpool.h"
|
||||
#include "r_slows.h"
|
||||
#include "r_speeds.h"
|
||||
|
||||
// FIXME move this rt-specific stuff out
|
||||
#include "vk_light.h"
|
||||
|
@ -699,7 +699,7 @@ qboolean R_VkInit( void )
|
|||
vk_core.rtx = false;
|
||||
VK_LoadCvars();
|
||||
|
||||
R_SlowsInit();
|
||||
R_SpeedsInit();
|
||||
|
||||
if( !gEngine.R_Init_Video( REF_VULKAN )) // request Vulkan surface
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "vk_querypool.h"
|
||||
|
||||
#include "profiler.h"
|
||||
#include "r_slows.h"
|
||||
#include "r_speeds.h"
|
||||
|
||||
#include "eiface.h" // ARRAYSIZE
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "vk_brush.h"
|
||||
#include "vk_rpart.h"
|
||||
#include "vk_triapi.h"
|
||||
#include "r_slows.h"
|
||||
#include "r_speeds.h"
|
||||
|
||||
#include "xash3d_types.h"
|
||||
#include "com_strings.h"
|
||||
|
|
Loading…
Reference in New Issue