mesa/src
Rob Clark b65f91dd32 nir/print: fix coverity error
Not something actually hit in real life (now state is never non-null,
but only case state->syms is null is if nir_print_instr() path).  But it
was something I overlooked the first time, so might as well fix it.

    *** CID 1324642:  Null pointer dereferences  (REVERSE_INULL)
    /src/glsl/nir/nir_print.c: 299 in print_var_decl()
    293
    294           fprintf(fp, " (%s, %u)", loc, var->data.driver_location);
    295        }
    296
    297        fprintf(fp, "\n");
    298
    >>>     CID 1324642:  Null pointer dereferences  (REVERSE_INULL)
    >>>     Null-checking "state" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
    299        if (state) {
    300           _mesa_set_add(state->syms, name);
    301           _mesa_hash_table_insert(state->ht, var, name);
    302        }
    303     }
    304

Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-09-20 14:04:06 -04:00
..
egl egl/dri2: don't leak the fd on dri2_terminate 2015-09-15 12:39:02 +01:00
gallium freedreno/ir3: use nir two-sided-color lowering 2015-09-18 21:07:50 -04:00
gbm gbm: convert gbm bo format to fourcc format on dma-buf import 2015-09-15 12:27:45 +01:00
getopt
glsl nir/print: fix coverity error 2015-09-20 14:04:06 -04:00
glx glxl/tests: Use X11_INCLUDES instead of X11_CFLAGS 2015-09-07 10:43:32 +01:00
gtest
hgl
loader
mapi mesa: move GL_APPLE_object_purgeable functions to new file 2015-09-16 09:02:40 -06:00
mesa i965/vec4/nir: Remove all "this->" snippets 2015-09-20 17:11:49 +02:00
util util: automake: rework the format_srgb.c rule 2015-09-09 12:48:09 +01:00
Makefile.am glsl: shader-enum to name debug fxns 2015-09-16 10:04:13 -04:00
SConscript