[Mesa-dev] [PATCH] gl-2.0: Add test for re-using shader objects
Kenneth Graunke
kenneth at whitecape.org
Wed Aug 12 23:29:03 PDT 2015
On Friday, June 26, 2015 05:50:52 PM Topi Pohjolainen wrote:
> This is stimulating the shader binary re-use logic in i965 buffer
> object uploading. Without relaxing the current constraints there
> will be two identical copies in the cache. With the introduced
> three patches the logic begins to share only one copy between
> two entries in the cache.
>
> CC: Kenneth Graunke <kenneth at whitecape.org>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
> tests/spec/gl-2.0/CMakeLists.gl.txt | 1 +
> tests/spec/gl-2.0/reuse_fragment_shader.c | 105 ++++++++++++++++++++++++++++++
> 2 files changed, 106 insertions(+)
> create mode 100644 tests/spec/gl-2.0/reuse_fragment_shader.c
Assuming you add this to all.py like Ilia mentioned, this is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150812/82ce9a8c/attachment.sig>
More information about the mesa-dev
mailing list