#asahi-gpu · 2023-07-25 14:09
cwabbottI wonder how it works on freedreno, given that it does all the same mediump stuff#asahi-gpu · 2023-07-25 14:02
cwabbottyou can blame utgard for that issue#asahi-gpu · 2023-07-25 14:02
cwabbottyeah, makes sense#asahi-gpu · 2023-07-25 14:01
cwabbottoh yeah, was looking at the wrong shader#asahi-gpu · 2023-07-25 14:00
cwabbottthat only supports mediump on fragment shaders, except that there's a special hack to pass varying coordinates directly to the texture unit in highp for exactly this case#asahi-gpu · 2023-07-25 13:59
cwabbottalyssa: lina: I bet you someone at some point had to get that code working on utgard (mali 400)#asahi-gpu · 2023-02-22 17:27
cwabbottI know on freedreno flushing is handled by the kernel too#asahi-gpu · 2023-02-22 17:27
cwabbottah, maybe just need to clean?#asahi-gpu · 2023-02-22 17:26
cwabbottthere should be a flush and invalidate/clean command and you probably also need to flush at the end of a submission in addition to cleaning at the beginning#asahi-gpu · 2023-02-22 17:24
cwabbottthere's probably a similar sort of requirement with gallium#asahi-gpu · 2023-02-22 17:24
cwabbottlina: I don't know how things work in GL, but for vulkan, there's a line in the spec that all user writes become visible to the GPU upon submit, so if your GPU has any sort of non-coherent cache then you have to invalidate it at the beginning and flush it at the end of a submission#asahi-gpu · 2023-01-17 12:01
cwabbotthowever you'd still have to define your own SPIR-V extension somehow, not sure what the process for that is#asahi-gpu · 2023-01-17 12:00
cwabbottglslang is a lighter weight dependency and might be better for intrinsics because there's a SPIR-V intrinsics thing that allows you to insert SPIR-V more or less directly#asahi-gpu · 2023-01-17 11:59
cwabbottradv uses glslang to compile GLSL to SPIR-V, Intel uses OpenCL C because that's what the Windows driver is using and the kernels are shared between drivers#asahi-gpu · 2022-02-12 15:47
cwabbottjust lurks#asahi-gpu · 2022-02-12 14:55
cwabbottcompute shaders also use the 3d queue#asahi-gpu · 2022-02-12 14:55
cwabbottfwiw, adreno just added a separate command processor for binning, so that rendering and binning for the next renderpass can be done in parallel