Skip to content

Instantly share code, notes, and snippets.

// pathfinder/shaders/gles2/stencil-aaa.fs.glsl
//
// Copyright (c) 2018 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// pathfinder/shaders/gles2/mcaa.fs.glsl
//
// Copyright (c) 2018 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// trap_ecaa.fs.metal
// Fastpath
//
// Created by Patrick Walton on 7/16/17.
// Copyright © 2017 Mozilla Foundation. All rights reserved.
//
#include <metal_stdlib>
#include "common.inc.metal"
diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock
index 501779f..5654bc8 100644
--- a/components/servo/Cargo.lock
+++ b/components/servo/Cargo.lock
@@ -2693,6 +2693,11 @@ dependencies = [
name = "webrender"
version = "0.6.0"
source = "git+https://github.com/servo/webrender#b31b4cf76324bfbe82d27a059e1330ef5ae34c35"
+replace = "webrender 0.6.0"
+
<!DOCTYPE html>
<style>
body {
margin: 0;
padding: 0;
}
</style>
Hello world!
<img style="position: absolute" width=100 height=100 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYPj/HwADAgH/xCAAOgAAAABJRU5ErkJggg==">
<img style="position: absolute" width=50 height=50 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgaGD4DwAChAGA2FJdiQAAAABJRU5ErkJggg==">
#!/usr/bin/env python
import pprint
import re
import subprocess
from subprocess import PIPE
import sys
from xml.etree import ElementTree
from xml.etree.ElementTree import Element
if len(sys.argv) < 3:
commit 68f55384b5c29e83a675e8cdba7858e972e5068d
Author: Patrick Walton <[email protected]>
Date: Mon Sep 19 13:30:48 2016 -0700
layout: Make `baseline_offset_of_last_line_box_in_flow()` only check
blocks in flow.
Improves python.org.
Closes #12124.
// before
// START rustc.node13.Deaggregator.before.mir
// bb0: {
// var0 = arg0; // scope 0 at main.rs:8:8: 8:9
// tmp0 = var0; // scope 1 at main.rs:9:14: 9:15
// return = Baz { x: tmp0, y: const F32(0), z: const false }; // scope ...
// goto -> bb1; // scope 1 at main.rs:8:1: 10:2
// }
// END rustc.node13.Deaggregator.before.mir
// MIR for `wrapping_sub`
// node_id = 6
// pass_name = CopyPropagation
// disambiguator = before
fn wrapping_sub(arg0: u32, arg1: u32) -> u32 {
scope 1 {
let var0: u32; // "x" in scope 1 at test.rs:4:21: 4:22
let var1: u32; // "y" in scope 1 at test.rs:4:29: 4:30
}
diff --git a/src/librustc_trans/abi.rs b/src/librustc_trans/abi.rs
index 3a7fde6..7df6fbf 100644
--- a/src/librustc_trans/abi.rs
+++ b/src/librustc_trans/abi.rs
@@ -22,7 +22,7 @@ use cabi_powerpc;
use cabi_powerpc64;
use cabi_mips;
use cabi_asmjs;
-use machine::{llalign_of_min, llsize_of, llsize_of_real, llsize_of_store};
+use machine::{llalign_of_min, llsize_of_real, llsize_of_store};