mesa/nir: Add some perfetto traces
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22646>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "main/mtypes.h"
|
||||
#include "util/hash_table.h"
|
||||
#include "util/u_math.h"
|
||||
#include "util/perf/cpu_trace.h"
|
||||
|
||||
#include "nir.h"
|
||||
#include "nir_builder.h"
|
||||
@@ -3154,6 +3155,8 @@ gl_nir_link_varyings(const struct gl_constants *consts,
|
||||
|
||||
unsigned first, last;
|
||||
|
||||
MESA_TRACE_FUNC();
|
||||
|
||||
first = MESA_SHADER_STAGES;
|
||||
last = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user