shaderc-moment
It's just useful to have, makes some error messages much more informative, and means you can kind of tell when someone is actively fucking up and scream at them for it.
18 Replies
well, i can show you what shaderc generates; looks like named variables to me
For me it generated matrix_1, matrix_2 vec_1... or something like that, like it came out of spirv-cross with names
well, did you tell it to preserve names? 🙃
I mean, the documentation was not very good, mostly leaving it on the front page of their repo IIRC,
Spirv-cross preserved names IIRC
well duh, otherwise that posted code wouldn't look as pretty
In any case, I removed it because I couldn't get it working regardless.
Really? I just ended up with intermittent access violation exceptions, it sucked.
you could very well be getting such exceptions when e.g. opengl tried to access a uniform that you named incorrectly
Ehh no
anyways, veldrid basically doesn't do any reflection checking to validate opengl names with a resource layout
This was pretty clearly from that bit of code
alrighty then
I'm not great with pointers.
One of the reasons I probably shouldn't go near silktouch
Lol
what pointers? 🙃
The ones in the shaderc bindings I used
bru
Lol
All I could find was this one library
Pretty much the same for spirv-cross
This was before you committed to your fork on veldrid
And I think I talked to you about this before
ya
i'm still in the process of remaking veldrid.spirv though
Ok