!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

349 Members
107 Servers

Load older messages


SenderMessageTime
10 Feb 2026
@opna2608:matrix.orgPunabigger ask i think, with no cache around to help06:16:36
@k900:0upti.meK900Wait, how does that even work06:16:46
@k900:0upti.meK900Like does mesa_clc even handle mixed endianness06:16:58
@k900:0upti.meK900Because SPIR-V is host endian06:17:03
@k900:0upti.meK900For some utterly idiotic reason06:17:08
@opna2608:matrix.orgPuna couldn't tell you, but the message that it prints when it falls on its face is from SPIRV-Tools i think
(file=input,line=0,column=0,index=7): Invalid extended instruction import 'nepOs.LC'
https://github.com/KhronosGroup/SPIRV-Tools/blob/f139c64525c7c449c83d299a9fda4e1657bf37ab/source/binary.cpp#L629
06:20:54
@k900:0upti.meK900No but like, it works on cross, right?06:21:24
@k900:0upti.meK900Well, "works"06:21:26
@opna2608:matrix.orgPunagot to 2118/5415, then it failed on another format error that i'll need to submit a fix for…06:22:37
@opna2608:matrix.orgPuna
mesa-powerpc64-unknown-linux-gnuabielfv> [2012/5415] Compiling C object src/nouveau/headers/libnvidia_headers_c.a.p/nv_push.c.o
mesa-powerpc64-unknown-linux-gnuabielfv> [2013/5415] Generating src/nouveau/vulkan/nvkcl.spv with a custom command
mesa-powerpc64-unknown-linux-gnuabielfv> [2014/5415] Compiling C object src/asahi/compiler/libasahi_compiler.a.p/agx_liveness.c.o
06:26:34
@opna2608:matrix.orgPuna *
[213/5415] Compiling C object src/compiler/nir/libnir.a.p/nir_functions.c.o
[214/5415] Generating src/asahi/libagx/libagx.spv with a custom command
[215/5415] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_info.c.o
06:27:37
@opna2608:matrix.orgPunathat's the .spv file that fails to generate on BE hardware06:27:48
@opna2608:matrix.orgPuna¯\_(ツ)_/¯06:27:57
@opna2608:matrix.orgPuna* that's the first .spv file that fails to generate on BE hardware06:28:14
@k900:0upti.meK900I wonder if literally anyone is expecting literally any of this shit to work tbh06:28:21
@k900:0upti.meK900Because like06:28:26
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&do apple silicon chips even support big endian mode?06:28:25
@k900:0upti.meK900You don't write "the IR is host endian" into your spec if you have EVER used a BE system06:28:45
@opna2608:matrix.orgPunawe build all drivers on all platforms06:29:03
@k900:0upti.meK900And more specifically Asahi we build on all platforms because it also outputs the standalone shader compiler for the build platform06:29:39
@opna2608:matrix.orgPuna
  # We enable as many drivers as possible here, to build cross tools
  # and support emulation use cases (emulated x86_64 on aarch64, etc)
06:29:41
@k900:0upti.meK900Which we need to use for cross06:29:43
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&ah06:29:57
@opna2608:matrix.orgPunai doubt anyone's doing asahi dev on 20yo PowerMacs, but y'know06:30:52
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&

probably because the predominant architectures over the past two decades or so have just been little endian

but also like it costs very little to go “the ir is little endian”, loading/storing little endian data is cheap on ppc

06:31:49
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&although more likely than not they want to cut corners in the serializer/deserializer06:32:40
@opna2608:matrix.orgPuna cba to work that out rn, patched -Werror=format -Wformat-security out of the meson.build.
builds cross ig.
07:09:53
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:23:31
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:23:31
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:10

Show newer messages


Back to Room ListRoom Version: 6