summaryrefslogtreecommitdiffstats
path: root/src/glx/glxhash.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-11-04 00:14:55 +0100
committerBas Nieuwenhuizen <[email protected]>2017-11-04 20:18:17 +0100
commit608af05ffbba21fe4dcfa4907d40c7958913d090 (patch)
tree2689de970312fbc9ec34891c4059b806935eb814 /src/glx/glxhash.h
parentcecbcf4b2de9e495969b7a25ce06ba7c3fabeb6c (diff)
radv: Optimize calling radv_save_descriptors.
uint32_t data[MAX_SETS * 2] = {}; was getting executed before the exit and took significant amounts of time. By having the check outside the function, we skip the execution of the clear. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/glxhash.h')
0 files changed, 0 insertions, 0 deletions