Skip to content
Snippets Groups Projects
Commit 18ed82b0 authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon: Committed by Emma Anholt
Browse files

nir: Add a pass for selectively lowering variables to scratch space


This commit adds new nir_load/store_scratch opcodes which read and write
a virtual scratch space.  It's up to the back-end to figure out what to
do with it and where to put the actual scratch data.

v2: Drop const_index comments (by anholt)

Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 8a2d91e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment