3

Like in opengl we can do glGetActiveAttrib and glGetActiveUniform.

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
abhijit jagdale
  • 609
  • 2
  • 8
  • 21

1 Answers1

7

No. You're expected to either introspect the SPIR-V yourself or a priori know what locations/bindings you used for the various interface variables in your shader.

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982