Click here to analyse any file

HomeFormats.GSID

What is a .GS file?

GS is a GLSL geometry shader - an optional GPU stage that can create or discard whole primitives such as points, lines and triangles on the fly.

Did you know
  • A geometry shader can output more vertices than it receives, generating geometry like fur or particles directly on the GPU; it was added to OpenGL in version 3.2 (2009).
  • Geometry shaders sit between the vertex and fragment stages and are used sparingly, because they can be slower than alternatives such as instancing.
  • Because .gs is also used for Google Apps Script, the file contents - GLSL versus JavaScript - are what really tell the two apart.
What Analyser reads
Open and read programming-language source, build and configuration files as text: C, C++ and their headers, C#, Java, Kotlin, Go, Rust, Python, Ruby, PHP, Swift, Scala, Lua, Perl, R, Dart, Groovy and Visual Basic, GPU shaders (GLSL, HLSL), shell scripts (sh, Bash, Zsh, Fish), and the build and tooling files that fill a source repository - CMake, Makefiles, Ninja, Autotools (.in / .ac / .am / .m4), qmake projects, Doxygen configs and the dotfiles that configure Git, Docker, npm, ESLint, Prettier, Cursor and clang-format. Also opens Objective-C++ (.mm / .hmm), more GPU shaders (.fs / .vs / .gs), Boost.Jam and Meson build scripts, Unix manual pages, web stylesheets (Less, Sass/SCSS) and Svelte components, gettext translations (.po / .pot), Apple entitlements and licence/readme text, plus Cython (.pyx), OpenGL shaders (.fsh / .vsh / .geom), Git hook samples, ESLint and Yarn configs and ASP.NET (.aspx) pages. Each opens with a source preview, line count and metadata, entirely in your browser.
Depth of analysis
.GS is an identification-grade format: Analyser recognises it from its bytes and decodes the header metadata it carries, rather than opening it in a full viewer. Formats that do get a full viewer are marked "Full" on the formats page.
Open a .GS file
Drag a .GS file onto the Analyser home page (or tap to pick one). It is identified entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.
Related formats
.C · .H · .CC · .CPP · .CXX · .HPP · .HH · .HXX · .INO · .MM · .HMM · .CS · .Java · .KT · .KTS · .Go · .RS · .PY and more. See all supported file types.