Skip to content

Comments

add pipeline executable info reports to performance critical examples#253

Open
karimsayedre wants to merge 2 commits intomasterfrom
pipeline-exec-info
Open

add pipeline executable info reports to performance critical examples#253
karimsayedre wants to merge 2 commits intomasterfrom
pipeline-exec-info

Conversation

@karimsayedre
Copy link

@karimsayedre karimsayedre commented Feb 20, 2026

Notes:

  • Could add that to 74_QuantizedSequenceTests but that requires changes to ITester.h (or maybe the inheritor class?)
  • All examples work, except for 71_RayTracingPipeline, for some reason (probably driver again, pretty sure it is because NSight gives reports the correct pipeline creation flags), vkGetPipelineExecutablePropertiesKHR reports 0 executable count, which means it won't report anything

Comment on lines 35 to 53
using device_base_t = SimpleWindowedApplication;
using asset_base_t = BuiltinResourcesApplication;
using clock_t = std::chrono::steady_clock;

enum E_LIGHT_GEOMETRY : uint8_t
using device_base_t = SimpleWindowedApplication;
using asset_base_t = BuiltinResourcesApplication;
using clock_t = std::chrono::steady_clock;

enum E_LIGHT_GEOMETRY : uint8_t
{
ELG_SPHERE,
ELG_TRIANGLE,
ELG_RECTANGLE,
ELG_COUNT
};

constexpr static inline uint32_t2 WindowDimensions = { 1280, 720 };
constexpr static inline uint32_t MaxFramesInFlight = 5;
constexpr static inline clock_t::duration DisplayImageDuration = std::chrono::milliseconds(900);
constexpr static inline uint32_t DefaultWorkGroupSize = 16u;
constexpr static inline uint32_t MaxDescriptorCount = 256u;
constexpr static inline uint32_t MaxDepthLog2 = 4u; // 5
constexpr static inline uint32_t MaxSamplesLog2 = 10u; // 18

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you change all the indents ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, reverted that, I'm used to format whole files, we should really use clangformat, anything against that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants