Shader Instructions 2-3 times more in 5.1

I’m using Deferred shading and realtime lighting only, this makes it possible to strip any baked lighting functionality from the shaders:

Render Settings

Shader Reduction Settings

26_Mobile_Shader_Permutation_Reduction_After

26_Shader_Permutation_Reduction_After

So I’m trying to get the least amount of possible shader instructions for the project that I’m setting up. And build it up from there depending on what I need. In UE 5.0 this resulted in a pretty complex shader to have only 200 instructions.

I am fine with more instructions if previous instruction counts where wrong. I guess all I need to know is:

  • If the instruction counts are accurate
  • If the increased amount of instructions for SM6 over SM5 is also accurate
  • How more instructions for SM6 are justified

Maybe @SebHillaire knows something about this?