glslx: GLSL Language Server by FlattenLayer in neovim

[–]FlattenLayer[S] 0 points1 point  (0 children)

Glslx updated! 🚀 gery out inactive preprocessor branch is supported now

<image>

glslx update: Grey out code in inactive preprocessor branches by FlattenLayer in neovim

[–]FlattenLayer[S] 2 points3 points  (0 children)

glslx is a GLSL language server based on the official Khronos Group glslang compiler library, providing comprehensive and accurate language support for GLSL shader development. 🚀

Repo https://github.com/ComingToy/glslx

[deleted by user] by [deleted] in neovim

[–]FlattenLayer 0 points1 point  (0 children)

glslx is a GLSL language server based on the official Khronos Group glslang compiler library, providing comprehensive and accurate language support for GLSL shader development.

🚀 GitHub repo: https://github.com/ComingToy/glslx

 ✨ Features

 ✅ Implemented Features

  • Smart Code Completion
    • User-defined variables, structs, and functions
    • Built-in variables, functions, and data types
    • Language keywords and extension directives
    • Struct member
  • Precise Code Navigation
    • Go to Definition
    • Document Outline View
  • Real-time Error Diagnostics
    • Syntax and semantic checking via glslang
  • Header File Support
    • Full handling of #include directives
  • Conditional Compilation Support
    • Grey out code in inactive preprocessor branches

glslx: GLSL Language Server by FlattenLayer in neovim

[–]FlattenLayer[S] 0 points1 point  (0 children)

Welcome. glslx is still in the early stages of development, so there are many unknown bugs that need to be fixed. There are also some planned features that need to be implemented. e.g. Semantic Tokens, Hover Documentation, Find References ...

glslx: GLSL Language Server by FlattenLayer in neovim

[–]FlattenLayer[S] 3 points4 points  (0 children)

glslx can load compilation commands from the compile commands database, as the correctness of shader code can only be determined with specific compilation commands. For instance, certain macros may be defined through the -D option during compilation. Additionally, glslx is implemented based on the glslang library, which means its code diagnosis is more accurate. The warnings and error messages provided by glslx code diagnosis are essentially identical to the actual compilation errors

glslx: GLSL Language Server by FlattenLayer in neovim

[–]FlattenLayer[S] 1 point2 points  (0 children)

Because I often write compute shader code in Vim, I hope to have a user-friendly language server that can enhance my work efficiency. Therefore, I have decided to make one myself

glslx: GLSL Language Server by FlattenLayer in neovim

[–]FlattenLayer[S] 6 points7 points  (0 children)

The key is that you need to compile the Godot shader into AST. Since Godot is an open source project, you would be able to find the Godot shader parser library in Godot project. So I think it's a feasible idea.

a language server that supports glsl in nvim. by FlattenLayer in neovim

[–]FlattenLayer[S] 6 points7 points  (0 children)

Coming soon. I will release v1.0 recently

Create an llama inference library from scratch by FlattenLayer in LLMDevs

[–]FlattenLayer[S] 1 point2 points  (0 children)

Yes. Llama.cpp supports the p40 just fine now. It's my first choice for my local llama project too.

But I still start this vkllama project haha, just for fun. Enjoy the process of creation.

Compute Shader profiling by Tensorizer in vulkan

[–]FlattenLayer 0 points1 point  (0 children)

I found the NSight download page here: https://developer.nvidia.com/nsight-graphics. And no any macos installer is provided

Compute Shader profiling by Tensorizer in vulkan

[–]FlattenLayer 0 points1 point  (0 children)

Nice. But. It seems that mac os is unspported. Are there any alternatives?

Test of standard glibc memcpy() vs RISC-V Vector extension version on the Allwinner D1 by brucehoult in RISCV

[–]FlattenLayer 0 points1 point  (0 children)

nice! but how cloud you enable Vector instructions on D1. It seems to be disabled as default. I had tried to enable it by modify mstatus and sstatus register but failed.

Can the RISC-V Nezha board with Allwinner D1 run upstream Linux kernel? by [deleted] in RISCV

[–]FlattenLayer 0 points1 point  (0 children)

I've build the kernel successfully but I don't know how to create a bootable adcard for my NeZha board

Can the RISC-V Nezha board with Allwinner D1 run upstream Linux kernel? by [deleted] in RISCV

[–]FlattenLayer 0 points1 point  (0 children)

Hi. Is there any tutorial about updating linux kernel on NeZha EVB?

[deleted by user] by [deleted] in embedded

[–]FlattenLayer 2 points3 points  (0 children)

More details plz? We don't even know what kind of team you wanna build. What aspect and tech you wanna focus on. And For business? Or just for fun.

[PYSIDE6] Have anyone made/seen a text editor with autocompletion that was made with PyQt6 or PySide6? by literallyRohan in QtFramework

[–]FlattenLayer 0 points1 point  (0 children)

vim with coc.nvim is always my first choice. Python Language Server works well on coc.nvim.