google / xrtl

Cross-platform Real-Time Rendering Library
Apache License 2.0
128 stars 26 forks source link

ES3: implement all push constant types. #60

Open benvanik opened 7 years ago

benvanik commented 7 years ago

Currently the ES3Shader push constant reflection code and the ES3RenderPassCommandEncoder::UpdatePushConstants code don't handle most supported types (like anything integer/ivec/etc).