mesa/src/panfrost/bifrost
2022-01-07 06:19:49 +00:00
..
test pan/bi: Use fused dual source blending 2022-01-02 01:12:05 +00:00
valhall pan/va: Generalize LD_VAR_IMM_* to support flat varyings 2021-12-22 22:01:20 +00:00
bi_builder.h.py pan/bi: Move typesize to common code 2021-06-15 20:27:22 +00:00
bi_helper_invocations.c pan/bi: Fix typo in helper invocation analysis 2021-11-12 16:30:02 +00:00
bi_layout.c pan/bi: Garbage collect stuff in bi_layout.c 2021-07-28 00:26:06 +00:00
bi_liveness.c pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
bi_lower_divergent_indirects.c pan/bi: Add divergent intrinsic lowering pass 2021-05-07 18:20:30 +00:00
bi_lower_swizzle.c pan/bi: Use FCLAMP pseudo op for clamp prop 2021-08-11 14:59:26 -04:00
bi_opcodes.c.py pan/bi: Track instruction size in opcode table 2021-06-15 20:27:22 +00:00
bi_opcodes.h.py pan/bi: Make some headers compilable with C++ 2021-11-08 19:02:01 +00:00
bi_opt_constant_fold.c pan/bi: Constant fold texturing lowerings 2021-08-11 14:59:24 -04:00
bi_opt_copy_prop.c pan/bi: Use is_staging_src helper 2022-01-02 01:12:05 +00:00
bi_opt_cse.c pan/bi: Use is_staging_src helper 2022-01-02 01:12:05 +00:00
bi_opt_dce.c pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
bi_opt_dual_tex.c pan/bi: Add dual texture fusing pass 2021-11-12 16:30:02 +00:00
bi_opt_mod_props.c pan/bi: Fuse DISCARD with conditions 2021-08-11 14:59:26 -04:00
bi_opt_push_ubo.c pan/bi: Specialize shaders for IDVS 2021-12-20 18:21:41 +00:00
bi_pack.c pan/bi: Specialize shaders for IDVS 2021-12-20 18:21:41 +00:00
bi_packer.c.py pan/bi: Rename NOP.i32 to NOP 2021-07-28 00:26:06 +00:00
bi_print.c pan/bi: Clean up useless casts 2021-07-18 01:49:26 +00:00
bi_print_common.c pan/bi: Move modifier prints out of common code 2020-12-23 12:48:06 -05:00
bi_print_common.h pan/bi: Move modifier prints out of common code 2020-12-23 12:48:06 -05:00
bi_printer.c.py pan/bi: Add discard flag to bi_index 2021-07-28 00:26:06 +00:00
bi_quirks.h pan/bi: Use CLPER_V6 on Mali G31 2021-08-20 20:13:27 +00:00
bi_ra.c pan/bi: Use fused dual source blending 2022-01-02 01:12:05 +00:00
bi_schedule.c pan/bi: Allow an extra staging source 2022-01-02 01:12:05 +00:00
bi_scoreboard.c pan/bi: Clean up useless casts 2021-07-18 01:49:26 +00:00
bi_test.h pan/bi: Drop unused test helpers 2021-11-08 19:02:02 +00:00
bi_validate.c pan/bi: Validate the live set starts empty 2021-07-29 23:40:46 +00:00
bifrost.h pan/bi: Add helper to decide if IDVS should be used 2021-12-20 18:21:41 +00:00
bifrost_compile.c pan/bi: Fix load_const of 1-bit booleans 2022-01-02 20:26:15 +00:00
bifrost_compile.h nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
bifrost_isa.py pan/bi: Move typesize to common code 2021-06-15 20:27:22 +00:00
bifrost_nir.h pan/bi: Add back custom algebraic opts 2021-06-15 20:27:22 +00:00
bifrost_nir_algebraic.py pan/bi: Optimize abs(derivative) 2021-10-06 00:40:57 +00:00
bir.c pan/bi: Use fused dual source blending 2022-01-02 01:12:05 +00:00
cmdline.c glsl/nir: don't pass gl_context to the convertor routine. 2022-01-07 06:19:49 +00:00
compiler.h pan/bi: Fix load_const of 1-bit booleans 2022-01-02 20:26:15 +00:00
disassemble.c pan/bi: Fix format specifiers in disassembler 2021-08-25 20:03:08 +00:00
disassemble.h pan/bi: Print the clause of branch targets 2021-08-01 13:04:20 +00:00
gen_disasm.py pan/bi: Print the clause of branch targets 2021-08-01 13:04:20 +00:00
ISA.xml pan/bi: Use fused dual source blending 2022-01-02 01:12:05 +00:00
meson.build pan/bi: Link with Valhall disassembler 2021-12-06 20:46:09 +00:00
Notes.txt pan/bi: Move notes on ADD ops to notes file 2020-03-03 00:03:50 +00:00
README.md pan/bi: Document register conventions 2021-04-03 12:47:29 -04:00

Bifrost compiler

Register file

Defined partially in software, partially in hardware.

Blend shaders

R0 - R3: input (color #0) R4 - R7: input (color #1) R8 - R15: general purpose R48: return address

Fragment

Anything live during BLEND must respect blend shader registers.

R0 - R3: preloaded (message #0) R4 - R7: preloaded (message #1) R57 - R63: preloaded (various)

R0 - R15: general purpose (full threads) R48 - R63: general purpose (full threads)

R32 - R47: general purpose (half threads, or v6)