summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_gldefs.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-08-31 22:52:46 +0200
committerSamuel Pitoiset <[email protected]>2016-09-01 21:25:35 +0200
commit65570588275e0c3a9823018f0d781014c1512303 (patch)
tree78ad8ad4919fcc088f1f2f3c12ab56cd16726ad4 /src/gallium/drivers/nouveau/nouveau_gldefs.h
parent96e21ad7634452312ef7e51e67ef496756e90237 (diff)
nvc0: allow to resize the code segment dynamically
When an application uses a ton of shaders, we need to evict them when the code segment is full but this is not really a good solution if monster shaders are used because code eviction will happen a lot. To avoid this, it seems better to dynamically resize the code segment area after each eviction. The maximum size is arbitrary fixed to 8MB which should be enough. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_gldefs.h')
0 files changed, 0 insertions, 0 deletions