mesa: make error checking optional in _mesa_lookup_shader_include()
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 26 Aug 2019 03:56:59 +0000 (13:56 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Nov 2019 05:05:55 +0000 (05:05 +0000)
commitfafda321275984c19476795257552eb18d640a38
treee19c6533e73946075c2ad9868dd92de0e3710186
parenta47bfbe189d8ca05683da9dc2732d7fd435112d8
mesa: make error checking optional in _mesa_lookup_shader_include()

This will be usefull when implementing glIsNamedStringARB() which
doesn't do error checking, it just returns false for invalid
lookups instead.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com>
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h