mesa/src/intel/compiler
Jason Ekstrand e1ef6c3c29 intel/ir: Don't allow allocating zero registers
This simple check helps catch bugs early that can end up propagating
into later stages of the compile and triggering strange asserts.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-12-11 21:26:23 -06:00
..
.gitignore
brw_cfg.cpp intel/cfg: Represent divergent control flow paths caused by non-uniform loop execution. 2017-12-07 18:27:05 -08:00
brw_cfg.h
brw_clip.h
brw_clip_line.c
brw_clip_point.c
brw_clip_tri.c i965: Don't emit MOVs with undefined registers for Gen4 point clipping. 2018-02-28 15:03:51 -08:00
brw_clip_unfilled.c
brw_clip_util.c
brw_compile_clip.c i965: Rewrite disassembly annotation code 2017-11-17 12:14:38 -08:00
brw_compile_sf.c
brw_compiler.c intel,nir: Move gl_LocalInvocationID lowering to nir_lower_system_values 2018-11-19 09:57:41 -06:00
brw_compiler.h i965: Do NIR shader cloning in the caller. 2018-11-20 15:53:46 -08:00
brw_dead_control_flow.cpp
brw_dead_control_flow.h
brw_disasm.c intel/compiler: Always print flag subregister number 2018-12-10 10:07:11 -08:00
brw_disasm_info.c intel/compiler: Silence unused parameter warnings 2018-08-22 20:31:32 -07:00
brw_disasm_info.h i965: Stop including brw_cfg.h in brw_disasm_info.h 2017-11-17 21:51:16 -08:00
brw_eu.c intel/eu: print bytes instead of 32 bit hex value 2018-08-27 11:07:39 -07:00
brw_eu.h intel/compiler: Silence unused parameter warnings in brw_eu.h 2018-08-28 15:35:38 -07:00
brw_eu_compact.c intel/compiler: Add instruction compaction support on Gen11 2018-02-28 11:15:47 -08:00
brw_eu_defines.h intel: Use TXS for image_size when we have a typed surface 2018-08-29 14:04:03 -05:00
brw_eu_emit.c intel/compiler: Set swizzle to BRW_SWIZZLE_XXXX for scalar region 2018-12-10 10:06:55 -08:00
brw_eu_util.c
brw_eu_validate.c intel/compiler: relax brw_eu_validate for byte raw movs 2018-07-10 00:14:49 +02:00
brw_fs.cpp i965/fs: Handle V/UV immediates in dump_instructions() 2018-12-10 10:46:56 -08:00
brw_fs.h intel/fs,vec4: Clean up a repeated pattern with SSBOs 2018-11-08 10:09:06 -06:00
brw_fs_bank_conflicts.cpp i965/fs: unspills shoudn't use grf127 as dest since Gen8+ 2018-07-12 18:02:26 +02:00
brw_fs_builder.h intel/fs: Prevent emission of IR instructions not aligned to their own execution size. 2018-11-09 19:39:22 -08:00
brw_fs_cmod_propagation.cpp i965/fs: Don't propagate conditional modifiers from integer compares to adds 2018-09-17 00:38:22 -07:00
brw_fs_combine_constants.cpp
brw_fs_copy_propagation.cpp intel/compiler: Implement untyped atomic float min, max, and compare-swap dataport messages 2018-08-22 20:31:32 -07:00
brw_fs_cse.cpp intel/fs: Replace the CINTERP opcode with a simple MOV 2018-05-29 15:44:50 -07:00
brw_fs_dead_code_eliminate.cpp intel/compiler: Implement untyped atomic float min, max, and compare-swap dataport messages 2018-08-22 20:31:32 -07:00
brw_fs_generator.cpp intel/compiler: Change src1 reg type to unsigned doubleword 2018-10-23 12:44:24 -07:00
brw_fs_live_variables.cpp intel/fs: Restrict live intervals to the subset possibly reachable from any definition. 2017-12-07 18:27:04 -08:00
brw_fs_live_variables.h intel/fs: Restrict live intervals to the subset possibly reachable from any definition. 2017-12-07 18:27:04 -08:00
brw_fs_lower_conversions.cpp intel/compiler: fix lower conversions to account for predication 2018-07-27 14:48:29 +02:00
brw_fs_lower_pack.cpp
brw_fs_nir.cpp nir: Make boolean conversions sized just like the others 2018-12-05 15:03:07 -06:00
brw_fs_reg_allocate.cpp intel/compiler: fix node interference of simd16 instructions 2018-11-09 08:22:08 +01:00
brw_fs_register_coalesce.cpp
brw_fs_saturate_propagation.cpp i965/fs: Handle negating immediates on MADs when propagating saturates 2017-11-21 10:13:07 -08:00
brw_fs_sel_peephole.cpp intel/compiler: fix register allocation in opt_peephole_sel 2018-11-28 08:28:27 +01:00
brw_fs_surface_builder.cpp intel/compiler: Do image load/store lowering to NIR 2018-08-29 14:04:02 -05:00
brw_fs_surface_builder.h intel/compiler: Do image load/store lowering to NIR 2018-08-29 14:04:02 -05:00
brw_fs_validate.cpp intel: disable FS IR validation in release mode. 2018-10-15 18:10:27 -07:00
brw_fs_visitor.cpp intel/compiler/icl: Use barrier id bits 24:30 instead of 24:27,31 2018-09-25 09:59:59 +03:00
brw_inst.h intel/compiler: Expand untyped atomic message type field by a bit 2018-08-22 20:31:32 -07:00
brw_interpolation_map.c
brw_ir_allocator.h intel/ir: Don't allow allocating zero registers 2018-12-11 21:26:23 -06:00
brw_ir_fs.h intel: Don't propagate conditional modifiers if a UD source is negated 2018-10-10 13:13:12 -05:00
brw_ir_vec4.h intel: Don't propagate conditional modifiers if a UD source is negated 2018-10-10 13:13:12 -05:00
brw_nir.c intel/compiler: Lower SSBO and shared loads/stores in NIR 2018-11-15 19:59:49 -06:00
brw_nir.h intel/compiler: Lower SSBO and shared loads/stores in NIR 2018-11-15 19:59:49 -06:00
brw_nir_analyze_boolean_resolves.c
brw_nir_analyze_ubo_ranges.c intel/analyze_ubo_ranges: Use nir_src_is_const and friends 2018-11-08 10:09:25 -06:00
brw_nir_attribute_workarounds.c i965: Drop support for the legacy SNORM -> Float equation. 2018-01-02 16:51:42 -08:00
brw_nir_lower_cs_intrinsics.c intel,nir: Move gl_LocalInvocationID lowering to nir_lower_system_values 2018-11-19 09:57:41 -06:00
brw_nir_lower_image_load_store.c nir/builder: Add a nir_imm_true/false helpers 2018-10-26 11:45:29 -05:00
brw_nir_lower_mem_access_bit_sizes.c intel/compiler: Lower SSBO and shared loads/stores in NIR 2018-11-15 19:59:49 -06:00
brw_nir_opt_peephole_ffma.c
brw_nir_tcs_workarounds.c util: use C99 declaration in the for-loop set_foreach() macro 2018-10-25 12:43:18 +01:00
brw_nir_trig_workarounds.py python: Use the print function 2018-07-06 10:04:22 -07:00
brw_packed_float.c
brw_predicated_break.cpp
brw_reg.h intel: Don't propagate conditional modifiers if a UD source is negated 2018-10-10 13:13:12 -05:00
brw_reg_type.c intel/compiler: Check for unsupported register sizes. 2018-03-16 09:27:16 -07:00
brw_reg_type.h intel/compiler: Add Gen11+ native float type 2018-02-28 11:15:47 -08:00
brw_schedule_instructions.cpp intel/compiler: Implement untyped atomic float min, max, and compare-swap dataport messages 2018-08-22 20:31:32 -07:00
brw_shader.cpp i965: Do NIR shader cloning in the caller. 2018-11-20 15:53:46 -08:00
brw_shader.h i965/fs: Add 64-bit int immediate support to dump_instructions() 2018-10-16 17:48:17 -07:00
brw_vec4.cpp i965: Do NIR shader cloning in the caller. 2018-11-20 15:53:46 -08:00
brw_vec4.h intel/fs,vec4: Clean up a repeated pattern with SSBOs 2018-11-08 10:09:06 -06:00
brw_vec4_builder.h intel/compiler: Lower flrp32 on Gen11+ 2018-02-28 11:15:47 -08:00
brw_vec4_cmod_propagation.cpp i965/vec4: Don't cmod propagate from CMP to ADD if the writemask isn't compatible 2018-07-02 19:19:16 -07:00
brw_vec4_copy_propagation.cpp i965: Support copy propagating of untyped atomic surface indexes. 2017-09-26 15:35:14 -07:00
brw_vec4_cse.cpp i965/vec4: Allow CSE on subset VF constant loads 2018-03-08 15:26:26 -08:00
brw_vec4_dead_code_eliminate.cpp
brw_vec4_generator.cpp i965/vec4: Correctly handle uniform sources in generate_tes_add_indirect_urb_offset 2018-09-01 00:23:43 -07:00
brw_vec4_gs_nir.cpp intel/vec4: Use the new nir_src_is_const and friends 2018-11-08 10:09:25 -06:00
brw_vec4_gs_visitor.cpp intel/compiler: Use nir's info when checking uses_streams. 2018-11-28 13:35:29 -08:00
brw_vec4_gs_visitor.h
brw_vec4_live_variables.cpp
brw_vec4_live_variables.h
brw_vec4_nir.cpp nir: Make boolean conversions sized just like the others 2018-12-05 15:03:07 -06:00
brw_vec4_reg_allocate.cpp
brw_vec4_surface_builder.cpp i965/vec4: Fix swizzles on atomic sources. 2017-09-26 15:35:11 -07:00
brw_vec4_surface_builder.h
brw_vec4_tcs.cpp i965: Do NIR shader cloning in the caller. 2018-11-20 15:53:46 -08:00
brw_vec4_tcs.h
brw_vec4_tes.cpp i965/vec4: Clamp indirect tes input array reads with 0x0fffffff 2018-09-01 00:23:45 -07:00
brw_vec4_tes.h
brw_vec4_visitor.cpp i965: Allow only one slot of clip distances to be set on Gen4-5. 2018-11-19 14:33:16 -08:00
brw_vec4_vs.h i965: Drop support for the legacy SNORM -> Float equation. 2018-01-02 16:51:42 -08:00
brw_vec4_vs_visitor.cpp i965: Drop support for the legacy SNORM -> Float equation. 2018-01-02 16:51:42 -08:00
brw_vue_map.c
brw_wm_iz.cpp intel/fs: Extend thread payload layout to SIMD32 2018-06-28 13:19:38 -07:00
gen6_gs_visitor.cpp i965/gen6/gs: Handle case where a GS doesn't allocate VUE 2018-06-26 08:18:55 +02:00
gen6_gs_visitor.h
meson.build meson: Add tests to suites 2018-11-20 09:09:22 -08:00
test_eu_compact.cpp intel/ir: Fix invalid type aliasing with undefined behavior in test_eu_compact. 2018-02-27 11:42:39 -08:00
test_eu_validate.cpp intel: Introducing Whiskey Lake platform 2018-10-11 10:02:40 -07:00
test_fs_cmod_propagation.cpp i965/fs: Propagate conditional modifiers from compares to adds 2018-03-26 08:50:43 -07:00
test_fs_copy_propagation.cpp
test_fs_saturate_propagation.cpp i965/fs: Check ADD/MAD with immediates in satprop unit test 2017-11-21 10:13:07 -08:00
test_vec4_cmod_propagation.cpp i965/vec4: Don't cmod propagate from CMP to ADD if the writemask isn't compatible 2018-07-02 19:19:16 -07:00
test_vec4_copy_propagation.cpp
test_vec4_register_coalesce.cpp
test_vf_float_conversions.cpp