diff options
author | Rob Clark <[email protected]> | 2019-10-11 15:57:22 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-10-18 21:11:54 +0000 |
commit | 482e1b99558fdfa9fe23999400a2973acb3728a1 (patch) | |
tree | 2ceb9e699fe109f1eea16d7d853f8fcfb847e807 /src/loader/SConscript | |
parent | 11e467c378212e5aefaaa5246839d72764a54ea2 (diff) |
freedreno/ir3: add meta instruction for pre-fs texture fetch
Add a placeholder instruction to track texture fetches made prior to FS
shader dispatch. These, like meta:input instructions are scheduled
before any real instructions, so that RA realizes their result values
are live before the first real instruction. And to give legalize a way
to track usage of fetched sample requiring (sy) sync flags.
There is some related special handling for varying texcoord inputs used
for pre-fs-fetch, so that they are not DCE'd and remain in linkage
between FS and previous stage. Note that we could almost avoid this
special handling by giving meta:tex_prefetch real src arguments, except
that in the FS stage, inputs are actual bary.f/ldlv instructions.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/loader/SConscript')
0 files changed, 0 insertions, 0 deletions