gboisse / gfx

A minimalist and easy to use graphics API.
MIT License
502 stars 36 forks source link

Raise error when parameter names are not found in a program #5

Closed sayan1an closed 3 years ago

sayan1an commented 3 years ago

gfxProgramSet*() functions should raise an error when parameter names are not found?

gboisse commented 3 years ago

Mmh, this won't happen as there is no compilation involved during program creation. All shader compilation happens later upon creating the kernels.

The program vs. kernel aspect is a construct of this library (mimicking the OpenCL approach).