diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-05-11 14:01:55 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-30 17:53:44 +0100 |
commit | 3bf00b6c6ac108f7d6cfc5c36401ccfd6a378469 (patch) | |
tree | cef56ea0e3748053be7c34433baf4208cb6e1b05 /src/compiler/Android.nir.gen.mk | |
parent | eab7e54981017d7b87242505a215a370dfcd5024 (diff) | |
download | external_mesa3d-3bf00b6c6ac108f7d6cfc5c36401ccfd6a378469.zip external_mesa3d-3bf00b6c6ac108f7d6cfc5c36401ccfd6a378469.tar.gz external_mesa3d-3bf00b6c6ac108f7d6cfc5c36401ccfd6a378469.tar.bz2 |
glx/glvnd: rework dispatch functions/indices tables lookup
Rather than checking if the function name maps to a valid entry in the
respective table, just create a dummy entry at the end of each table.
This allows us to remove some unnessesary "index >= 0" checks, which get
executed quite often.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/compiler/Android.nir.gen.mk')
0 files changed, 0 insertions, 0 deletions