aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/nx2_sampler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* build: fixes for clang-clTakoroka5 days1-2/+2
| | | | | | | | | - (std::min)/(std::max) where windows.h's macros are visible - LAMBDA_FORCEINLINE: always_inline under clang (clang-cl defines _MSC_VER but rejects [[msvc::forceinline]] on lambdas) - ImageBase::FindView: find_if, as MSVC's STL takes its vectorized find for ImageViewInfo under clang-cl and fails a size assertion - parentheses for -Wlogical-op-parentheses in the Ampere lowering
* nx2: GPU-thread zone timers and an in-process sampling profilerTakoroka6 days1-0/+333
EDEN_NX2_GPU_PROFILE=1 times the GPU thread's stages (command parsing, macros, draw setup by step, compute, texture uploads) and logs each one's share of every second. EDEN_NX2_SAMPLE=<thread names> (Windows) pauses the named threads about 600 times a second for EDEN_NX2_SAMPLE_SECONDS, walks their stacks and writes per-function counts plus folded stacks (EDEN_NX2_SAMPLE_OUT).