No way we can do this per command execution:
```javascript
var vs = shaderProgram.vertexShaderSource;
var fs = shaderProgram.fragmentShaderSource;
var key = vs + fs + JSON.stringify(attributeLocations);
```