summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/etnaviv/etnaviv_format.c
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-07-24 10:28:17 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2017-08-06 20:44:02 +0200
commit39056b0e2ac10342d8a3a6000f12a510f5dbd773 (patch)
tree2af42477d466d63ab23518123737f70b0e52e760 /src/gallium/drivers/etnaviv/etnaviv_format.c
parent6c321c8b0b3547b0af0b0939391eef4dc8d2f873 (diff)
etnaviv: Implement ICACHE
This patch adds support for large shaders on GC3000. For example the "terrain" glmark benchmark with a large fragment shader will work after this. If the GPU supports ICACHE, shaders larger than the available state area will be uploaded to a bo of their own and instructed to be loaded from memory on demand. Small shaders will be uploaded in the usual way. This mimics the behavior of the blob. On GPUs that don't support ICACHE, this patch should make no difference. Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_format.c')
0 files changed, 0 insertions, 0 deletions