Skip to content

Instantly share code, notes, and snippets.

View mooman219's full-sized avatar
🐄

mooman219

🐄
View GitHub Profile
0eNqkvU2PZseNrftfNC4Zm2TwIzw+wMGd3mnDaEhWXXfhyJJQkhrHaPR/v5lSV2aqtCOTD2tkWzL57oy1I8i19oqI//rq2+9/ff/Txw8//PLv3/744//56q//9fxPfv7qr//24n8+/rsPf//xh9//8c8f/vHDN98//rNf/vXT+6/++tV/fvj4y68P/+TdVz9888/Hf/D7/+Pr//3Vf7/76sMP373/v1/9Vf77HYj8f19EKor8f15EGor8Xy8i13//7d1X73/45cMvH97//kf/9j/+9e8//PrPb99/fPhznqL//uvH/3z/3dcfv/nwmPKnH39+iPnxh8ffe8gTut599a+v/vr18ush+3cfPr7/++//2h+f7bOk+pT0MdvXf/+Pbz788PX/PP9NavuLf0r+8F//+yahPf+Nvzyk/Md//HJ8zudUd4nWU6JvP/zj6/ffP/wVHz/8/euffvz+/V2yek72EPj+4Ye//fHXj48DKfFO0t5J5d9ufsabo2p6GNV1kzTag2Dy6iDkH+E5AmP6R2DefMLq/dmZ5GXa5GXKfPtlkqs7kJmvv00i5HXKPL9Oer2Tbe/0un2dRJsDW+R9kvasynr9hZLVe6Meng++UeKDmS+3z/g8ff75/rsPv/7z7dmfzw97/fawf4Bs3SKVbOmrz3/ixXjoXf4aLAL347EHs+A2k15wZDNfH1mRu6FVYQsBHVrVwXS4HxCjRXXVH58v7rIuPhXWvn0+XJ4+fz67yzqoT4fnS1pHWuNX/IU/PN+my3Fn/Ozi79/98xmaKSH7aaas+HymyF1+7b+JT0/6Wd68y2uDvNkY2TXtR38bj7uMg7L08KR3mZ5nzccfv/3xpx8//vJaI7riNkkOpt7944D64gcI7po424O8jVdxXagoBH3Vl/QXDfKqLx3kbbzqy6bd8ulVX2uwbN6+W8sbr/pzk3z/qq8YrJL3j5P9TORVXzXI23kV+1Posbf7Pa+9/Sr6Ncjrb7+K3pYW4lNWfZsQuHZ7l+uQ9Q4zR9P
# General settings
[General]
# The program to perform the actual stress test
# The following programs are available:
# - PRIME95
# - AIDA64
# - YCRUNCHER
# You can change the test mode for each program in the relavant [sections] below.
# Note: For AIDA64, you need to manually download and extract the portable ENGINEER version and put it
Changes from OpenGL GLSL 3.3 to GLSL 3.0 es
Removed:
• Profiles and deprecation
• Geometry shaders
• Multiple compilation units
• Shared globals (except for uniforms)
• in and out blocks
• vertex array inputs (attribute arrays)
• Layout qualifiers: index, origin_upper_left and pixel_center_integer
fn perceptual(db: f32) -> f32 {
const LUT: [f32; 256] = [
1.0, 1.0027113, 1.00543, 1.008156, 1.0108894, 1.01363, 1.0163783, 1.0191339, 1.0218971,
1.0246677, 1.0274459, 1.0302317, 1.0330249, 1.0358257, 1.0386341, 1.0414501, 1.0442737,
1.0471052, 1.0499442, 1.0527908, 1.0556451, 1.0585073, 1.0613772, 1.0642549, 1.0671405,
1.0700337, 1.0729349, 1.0758438, 1.0787607, 1.0816857, 1.0846184, 1.0875591, 1.0905077,
1.0934645, 1.0964291, 1.0994017, 1.1023827, 1.1053715, 1.1083684, 1.1113734, 1.1143868,
1.1174082, 1.1204377, 1.1234756, 1.1265216, 1.129576, 1.1326386, 1.1357094, 1.1387887,
1.1418762, 1.1449722, 1.1480765, 1.1511892, 1.1543103, 1.1574401, 1.1605783, 1.1637249,
1.16688, 1.1700438, 1.1732162, 1.176397, 1.1795865, 1.1827847, 1.1859916, 1.1892071,
GlobalAnimator.animate(SimpleAnimationInstance, new_value => {
textReveal.minCharacters = new_value;
})
Pseudo code:
GlobalAnimator Animate(SimpleAnimation, lambda) {
Store the (SimpleAnimation, lambda) pair.
}
0eNrlnd2OI8mRpV+lkVcjoCiE/7v3nbS7wOhiRhezAhYYNBpZVVSLUFZmISurtQ2h332ZmQwyKuhBns8jmGxhdSG1qosnzM3Mf8z8uNk/b97ffV1/ftzcP/34/uHh7zff//PwJ19uvv/vwf99/nebDw/3r3/8ZfPT/e3d8589/fJ5ffP9zc+bx6ev2z95d3N/++n5D17/xurfb359d7O5/7j+vzffm1/fgV/+r8EvLfrlL+u7u4d/DH7u0M//z+CX/tcf3t2s7582T5v168hf/s8vP95//fR+/bgd0+HXT4+3m5/+9rTa/s8z6OeHL9tfPdw/f3GLtEr53c0v2/+NcQv/cfO4/vD6b1+0MkK1KmqKddBUAXUYNH8L6iqgXh//hKihgho4qj+v1SgrwNdBa1pNGDSe12rWxz8hak2rZY/64evjz+uPk5hmh2nOD990XFR73lTmMK+e0Va7yVsBtb8PO1j3+3Bes8ZqSoilrgNbw9Rnlq2roKpZ/60KPvztdnM/qYjUTeuhquCAZfaCduUptsqxroqa45okem7e6SCUX2swmUvXCaqk86oune2IvVcx7Q1uxgavOakVZ1QMEBdOqO3gz29/TsPMDmDKO1X2ddvXJqkNGNWen0Y2IlfIB1foxiarCp30eTChi9ostRnDhiwYTp5eoe4NsXYWAttWV1dBbTI4/TgYM4C1OmwEsE6H9QBWPxNGC2D1Q2EkJtO3rEBMps+xQEymz7FATFZ0WGAyr8+yAEzm9Vnmgcm8Pss8MJnXZ5kHJvP6LPPEZPos88Rk+ixzxGT6LHPEZPosc8Rk+ixzwGRBn2UOmCzos8wCkwV9lllgsqDPMgtMFvRZZonJ9Flmicn0WWaIyfRZZojJ9FlmiMn0WWaAyaI+ywwwWdRnGbBYBAdGgAp2MoAKphhAlWcYMZY8v4ik8uwiSpXnFrG/PLOAqyZ5XpFpleRpRdaAJE8rsmAleVqR1TXJ04psBUmeVmTfSvq8ItaSJxY5ESR5ZpHjS5KnFjl
use crate::math::Geometry;
use crate::simd::*;
use alloc::vec;
use alloc::vec::*;
#[cfg(target_arch = "x86")]
use core::arch::x86::*;
#[cfg(target_arch = "x86_64")]
use core::arch::x86_64::*;
Invalid write of size 4
==115836== at 0x18A4D6: add (raster.rs:39)
==115836== by 0x18A4D6: line (raster.rs:90)
==115836== by 0x18A4D6: fontdue::raster::Raster::draw (raster.rs:30)
==115836== by 0x1896B4: fontdue::font::Font::rasterize_indexed (font.rs:219)
==115836== by 0x18941D: fontdue::font::Font::rasterize (font.rs:209)
==115836== by 0x120852: letter_render_tests::render_liberation_serif_characters (letter_render_tests.rs:48)
==115836== by 0x11CC09: letter_render_tests::render_liberation_serif_characters::{{closure}} (letter_render_tests.rs:44)
==115836== by 0x11F0DD: core::ops::function::FnOnce::call_once (function.rs:232)
==115836== by 0x13100E: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
fraction(1.1)
f32x4::splat(1.1).fract_first()
#![allow(non_camel_case_types)]
use core::ops::{Add, AddAssign, Mul, MulAssign, Sub, SubAssign};
#[cfg(target_arch = "x86")]
use core::arch::x86::*;
#[cfg(target_arch = "x86_64")]
use core::arch::x86_64::*;
#[derive(Copy, Clone)]