Commit 97e3a763 authored by Nicolas Silva's avatar Nicolas Silva
Browse files

Bug 1728618 - Add a profile marker for shader compilation. r=gfx-reviewers,jrmuizel

parent 5df869f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2240,6 +2240,8 @@ impl Device {
        program: &mut Program,
        descriptor: &VertexDescriptor,
    ) -> Result<(), ShaderError> {
        profile_scope!("compile shader");

        let _guard = CrashAnnotatorGuard::new(
            &self.crash_annotator,
            CrashAnnotation::CompileShader,