diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-04-19 11:18:35 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-05-18 06:49:54 +0200 |
commit | e69e5c7006da80af62c9ef08dec215b3b4b30946 (patch) | |
tree | cd6cb45ee9385dc7e83d86e19e2cb9c9720dbd43 /docs/egl.html | |
parent | 8aa6ada8384a961b37dfefec7f9e40e5a4e27ce7 (diff) |
i965/vec4: load dvec3/4 uniforms first in the push constant buffer
Reorder the uniforms to load first the dvec4-aligned variables in the
push constant buffer and then push the vec4-aligned ones. It takes
into account that the relocated uniforms should be aligned to their
channel size.
This fixes a bug were the dvec3/4 might be loaded one part on a GRF and
the rest in next GRF, so the region parameters to read that could break
the HW rules.
v2:
- Fix broken logic.
- Add a comment to explain what should be needed to optimise the usage
of the push constant buffer slots, as this patch does not pack the
uniforms.
v3:
- Implemented the push constant buffer usage optimization.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Cc: "17.1" <[email protected]>
Acked-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'docs/egl.html')
0 files changed, 0 insertions, 0 deletions