Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8373539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:42:01+00:00 2026-06-09T14:42:01+00:00

GLSL and CG toolkit are simply not sufficient for my needs and it appears

  • 0

GLSL and CG toolkit are simply not sufficient for my needs and it appears my only option is to write my own compiler. I basically need a diagram of the binary shader structure so I can build it myself from a script.

EDIT: Ok I think what I’m looking for is the binary structure of arb assembly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:42:02+00:00Added an answer on June 9, 2026 at 2:42 pm

    How to build my own opengl shader compiler?

    You don’t. At least, not in the way that you mean.

    OpenGL does not define a binary or assembly interchange format. OpenGL itself directly compiles GLSL into objects. And even though you can query the binary data, OpenGL does not provide a means to explain what that binary data actually stores. It is implementation-dependent. NVIDIA and AMD will store different info, and that will be different from what Intel stores. It will change for each generation of hardware. And so forth.

    You can write a compiler that generates GLSL. But that’s about it.

    If you’re willing to stick with NVIDIA, they have been good about keeping the ARB assembly language up-to-date. But obviously, any such code would be NVIDIA-only.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

GLSL has a full C-style preprocessor. The only thing that does not work is
Is it possible to write GLSL ES fragment shaders under iOS that generate multiple
since in GLSL the modelmatrix is not available, i was wondering if it is
Since GLSL doesn't have an include-file option I'm trying to add this by using
Hi I'm doing fractal work using GLSL, and I need to use the for
I have a project that uses GLSL shaders. This project is designed not to
I have here some glsl, And it works like a charm. Only compiling is
I'm writing a shader in GLSL and I need to pass it a certain
I'm getting into GLSL and need some help with texture lookups. I'm trying to
I have read that GLSL (specifically v1.0.17: my application is running under WebGL) compilers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.