Skip to content

Instantly share code, notes, and snippets.

diff --git a/machine.c b/machine.c
index 1a33176b..2441cf6c 100644
--- a/machine.c
+++ b/machine.c
@@ -377,7 +377,7 @@ machine_set_const_timings( fuse_machine_info *machine )
/* Pull timings we use repeatedly out of libspectrum and store them
for ourself */
machine->timings.processor_speed =
- libspectrum_timings_processor_speed( machine->machine );
+ libspectrum_timings_processor_speed( machine->machine ) * 2;
diff --git a/tests/spec/nv_texture_barrier/blending-in-shader.c b/tests/spec/nv_texture_barrier/blending-in-shader.c
index e4514c02e..c9d35f16d 100644
--- a/tests/spec/nv_texture_barrier/blending-in-shader.c
+++ b/tests/spec/nv_texture_barrier/blending-in-shader.c
@@ -42,7 +42,7 @@ static float tex_data[16*16*4], res_data[16*16*4];
static const char *fstext = {
"uniform sampler2D fb;"
"void main() {"
- " gl_FragColor = sqrt(texture2D(fb, gl_FragCoord.xy / 16.0));"
+ " gl_FragColor = texture2D(fb, gl_FragCoord.xy / 16.0) * 0.5;"
======ppir output regs======
OUTPUT_COLOR0: $0
--------------------------
========ppir codegen========
011 (@ 0): 02200083 f2003c6b 00000000
load.v $2 gl_FragCoord
010 (@ 3): 02281204 00000800 001c9e00 000f9e00
load.u 0, mov.v1 $0 ^uniform
009 (@ 7): 02182a05 00000800 007c1200 20818000 00000020
load.u 0, mul.s0 $2.y ^uniform.z, add.s1 $0.y ^s0 $0.w
0x1600003 "Telltale Games": ("backtothefuture101.exe" "backtothefuture101.exe") 1920x1080+0+78 +0+78
1 child:
0x140006d (has no name): () 1x1+0+0 +0+78
0x1800004 "Default IME": ("postal2.exe" "postal2.exe") 1x1+0+0 +0+0
0x1800003 "Postal 2 (Running)": ("postal2.exe" "postal2.exe") 500x198+6+130 +6+130
0x1800005 "Postal 2": ("postal2.exe" "postal2.exe") 1920x1080+0+78 +0+78
1 child:
0x140008a (has no name): () 1932x1138+0+0 +0+78
Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
3840x2160 59.98*+
2048x1536 59.95
1920x1440 59.97
1600x1200 59.87
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="041e", ATTR{idProduct}=="3f19", TEST=="power/control", ATTR{power/control}="on"
34a75ce15ce lima: fix blending with min/max ops
5f9434b6112 lima: use 1 as blend factor for dst_alpha for SRC_ALPHA_SATURATE
d1d3ebb48cc lima: implement dual source blend
b8f4d36ee4f lima: disasm: call util_cpu_detect() to init CPU caps
711a4ccddba lima: disasm: use last argument as a filename
437b97de1c3 lima: fix crash with sparse samplers
3b15fb35753 lima/ppir: implement gl_FragDepth support
98a7c4c6f8e lima/ppir: check if mul node is a source of add node before inserting
c9a47c85da9 gallium: rename PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER
ee2e14b352b ci: temporarily disable lima CI
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 5a40e0280665..c3d5e7f663ec 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1506,7 +1506,7 @@ mali: gpu@1c40000 {
resets = <&ccu RST_GPU>;
assigned-clocks = <&ccu CLK_GPU>;
- assigned-clock-rates = <384000000>;
+ assigned-clock-rates = <312000000>;
with instanced arrays:
draw_instanced(vertices = 3, instances = 10) {
outputs_size = instances * vertices * stride
output = allocate_bo(output_size);
output_offset = 0;
for (int i = 0; i < instances; i++) {
foreach(a, attributes) {
if (divisor != 0)