mesa/src/gallium/drivers/vc4
Edward O'Callaghan 13eb5f596b gallium/drivers: Sanitize NULL checks into canonical form
Use NULL tests of the form `if (ptr)' or `if (!ptr)'.
They do not depend on the definition of the symbol NULL.
Further, they provide the opportunity for the accidental
assignment, are clear and succinct.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2015-12-06 17:10:23 +01:00
..
kernel vc4: Bring over cleanups from submitting to the kernel. 2015-12-05 13:12:27 -08:00
.dir-locals.el dir-locals.el: Don't set variables for non-programming modes 2015-02-02 12:02:55 +00:00
Android.mk vc4: Add support for building on Android. 2015-06-15 10:32:23 -07:00
Automake.inc vc4: Just put USE_VC4_SIMULATOR in DEFINES. 2015-11-22 13:15:40 -08:00
Makefile.am vc4: Just put USE_VC4_SIMULATOR in DEFINES. 2015-11-22 13:15:40 -08:00
Makefile.sources vc4: Move all of our fixed function fragment color handling to NIR. 2015-08-14 11:39:18 -07:00
vc4_blit.c vc4: Disable RCL blitting when scissors are enabled. 2015-12-05 13:12:27 -08:00
vc4_bufmgr.c vc4: Return GL_OUT_OF_MEMORY when buffer allocation fails. 2015-11-09 19:17:36 -08:00
vc4_bufmgr.h vc4: Switch to using a separate ioctl for making shaders. 2015-07-17 22:11:56 -07:00
vc4_cl.c vc4: Rework cl handling to be friendlier to the compiler. 2015-07-14 11:31:57 -07:00
vc4_cl.h vc4: Drop reloc_count tracking for debug asserts on non-debug builds. 2015-07-14 11:31:57 -07:00
vc4_cl_dump.c vc4: Add CL dumping for GL_ARRAY_PRIMITIVE. 2015-11-09 19:17:36 -08:00
vc4_context.c gallium/drivers: Sanitize NULL checks into canonical form 2015-12-06 17:10:23 +01:00
vc4_context.h vc4: Convert blending to being done in 4x8 unorm normally. 2015-10-23 18:11:21 +01:00
vc4_draw.c vc4: Allow user index buffers, to avoid slow readback for shadow IBs. 2015-10-29 22:58:01 -07:00
vc4_drm.h vc4: Switch to using a separate ioctl for making shaders. 2015-07-17 22:11:56 -07:00
vc4_emit.c vc4: Fix accidental scissoring when scissor is disabled. 2015-12-05 13:12:27 -08:00
vc4_fence.c vc4: Add perf debug for when we wait on BOs. 2015-07-14 11:31:57 -07:00
vc4_formats.c vc4: Avoid overflowing various static tables. 2015-07-30 15:46:27 -07:00
vc4_job.c vc4: Add a workaround for HW-2116 (state counter wrap fails). 2015-10-23 18:11:21 +01:00
vc4_nir_lower_blend.c vc4: Use nir_channel() to simplify all of our nir_swizzle() cases. 2015-11-21 18:55:31 -08:00
vc4_nir_lower_io.c vc4: Use nir_channel() to simplify all of our nir_swizzle() cases. 2015-11-21 18:55:31 -08:00
vc4_opt_algebraic.c vc4: Add support for nir_op_uge, using the carry bit on QPU_A_SUB. 2015-11-17 17:45:23 -08:00
vc4_opt_constant_folding.c vc4: Convert from simple_list.h to list.h 2015-05-29 22:09:53 -07:00
vc4_opt_copy_propagation.c vc4: Add support for copy propagation with unpack flags present. 2015-10-26 16:48:34 -07:00
vc4_opt_cse.c vc4: Don't try to CSE non-SSA instructions. 2015-10-23 18:11:21 +01:00
vc4_opt_dead_code.c vc4: convert from tgsi semantic/index to varying-slot 2015-09-16 15:07:08 -04:00
vc4_opt_small_immediates.c vc4: Switch the unpack ops to being unpack flags on a mov. 2015-10-26 16:48:34 -07:00
vc4_opt_vpm_writes.c vc4: Don't try to register coalesce into the VPM across non-raw MOVs. 2015-10-24 17:55:38 -07:00
vc4_program.c vc4: Add support for storing sample mask. 2015-12-04 09:23:55 -08:00
vc4_qir.c vc4: Add support for storing sample mask. 2015-12-04 09:23:55 -08:00
vc4_qir.h vc4: Add support for storing sample mask. 2015-12-04 09:23:55 -08:00
vc4_qir_lower_uniforms.c vc4: Don't bother lowering uniforms when the same value is used twice. 2015-11-17 17:45:23 -08:00
vc4_qpu.c vc4: Try to pair up instructions when only one of them has PM bit 2015-09-17 14:57:46 -04:00
vc4_qpu.h vc4: If a QIR source has an unpack set, print it. 2015-10-26 16:48:34 -07:00
vc4_qpu_defines.h vc4: Fix names of the 16-bit unpacks 2015-10-24 17:55:55 -07:00
vc4_qpu_disasm.c vc4: If a QIR source has an unpack set, print it. 2015-10-26 16:48:34 -07:00
vc4_qpu_emit.c vc4: Add support for storing sample mask. 2015-12-04 09:23:55 -08:00
vc4_qpu_schedule.c vc4: Add support for storing sample mask. 2015-12-04 09:23:55 -08:00
vc4_qpu_validate.c vc4: Fix compiler warnings on release builds. 2015-07-14 11:39:28 -07:00
vc4_query.c vc4: make vc4_begin_query() return a boolean 2015-05-27 17:29:03 -07:00
vc4_register_allocate.c vc4: Switch the unpack ops to being unpack flags on a mov. 2015-10-26 16:48:34 -07:00
vc4_reorder_uniforms.c vc4: Fix uniform reordering to support reading the same uniform twice. 2015-11-17 17:45:23 -08:00
vc4_resource.c vc4: Add debug dumping of MSAA surfaces. 2015-12-04 09:24:36 -08:00
vc4_resource.h gallium: replace INLINE with inline 2015-07-21 17:52:16 -04:00
vc4_screen.c gallium: add PIPE_CAP_CLEAR_TEXTURE and clear_texture prototype 2015-11-11 19:20:41 -05:00
vc4_screen.h vc4: Track the number of BOs allocated and their size. 2015-06-17 23:53:49 -07:00
vc4_simulator.c vc4: Add the RCL to CL debug dumping when in simulator mode. 2015-12-03 18:20:39 -08:00
vc4_simulator_validate.h vc4: Bring over cleanups from submitting to the kernel. 2015-12-05 13:12:27 -08:00
vc4_state.c vc4: Add support for loading sample mask. 2015-12-04 09:10:53 -08:00
vc4_tiling.c vc4: Fix compiler warnings on release builds. 2015-07-14 11:39:28 -07:00
vc4_tiling.h vc4: Use the pure/const attributes on a bunch of our QPU functions. 2015-07-17 12:25:55 -07:00
vc4_uniforms.c vc4: Add support for loading sample mask. 2015-12-04 09:10:53 -08:00