# Does omitting single glUniform\* calls have any benefit at all?

**URL:** <https://forums.imgtec.com/t/does-omitting-single-gluniform-calls-have-any-benefit-at-all/2916>\
**Category:** PowerVR Insider\
**Created:** [April 12, 2019, 8:49am UTC](https://forums.imgtec.com/t/does-omitting-single-gluniform-calls-have-any-benefit-at-all/2916 "2019-04-12T08:49:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![desperado](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@desperado](https://forums.imgtec.com/u/desperado)\
**Post date:** [April 12, 2019, 8:49am UTC](https://forums.imgtec.com/t/does-omitting-single-gluniform-calls-have-any-benefit-at-all/2916/1 "2019-04-12T08:49:57Z")

</div>

Greetings,

I tried to improve the performance of a performance heavy program by omitting superfluous glUniform\* calls between the render calls. However, despite many calls being omitted now the cpu footprint of the gpu updates in preparation of the render calls doesn’t significantly decrease.

Now my question: As far as I know changing uniforms will cause a change to the “common store”. I assume this burden is visible as a cpu load on the WritePDSFragmentCommonStoreLoad and WritePDSVertexCommonStoreLoad function calls which are visible as part of the GLES3EmitState method.

Is it possible that even changing a single uniform between the drawcalls will cause a full, expensive common store update where omitting single uniform calls will help little?

As minimum, I will have to update the mvp matrix between the drawcalls and I do not want to switch to glMulti\* calls yet.

Regards

---

<div class="post-metadata">

**Author:** ![LoisLano](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/loislano/32/299_2.png) [@LoisLano](https://forums.imgtec.com/u/LoisLano)\
**Post date:** [April 12, 2019, 11:35am UTC](https://forums.imgtec.com/t/does-omitting-single-gluniform-calls-have-any-benefit-at-all/2916/2 "2019-04-12T11:35:20Z")

</div>

Greetings,  
I will look into it.  
Regards

---

<div class="post-metadata">

**Author:** ![LoisLano](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/loislano/32/299_2.png) [@LoisLano](https://forums.imgtec.com/u/LoisLano)\
**Post date:** [April 15, 2019, 8:25am UTC](https://forums.imgtec.com/t/does-omitting-single-gluniform-calls-have-any-benefit-at-all/2916/3 "2019-04-15T08:25:52Z")

</div>

Greetings,  
Since this is a matter of how the driver behaves, I must redirect you to [pvrsupport.imgtec.com](http://pvrsupport.imgtec.com) where you will be able to create a (private) ticket. I will answer the ticket as soon as you have created it.  
Regards
