diff options
author | Roland Scheidegger <[email protected]> | 2018-01-02 23:39:34 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2018-01-10 04:59:00 +0100 |
commit | c5162fd3c4b55f9a9e7d0ec253bb2be6f55ee777 (patch) | |
tree | ebb257baf4b59169e9f5d49010eaaa8938bf1864 /src/gallium/drivers/r600/r600_asm.h | |
parent | 0be1dc25cf72da49fc767f2cd6560f738c0449e0 (diff) |
r600: use GET_BUFFER_RESINFO vtx fetch on eg instead of setting up consts
Contrary to what the comment said, this appears to work just fine on my rv770
(tested with piglit textureSize 140 fs/vs samplerBuffer).
Dave Airlie confirmed it working on cayman too.
I have no clue though if it's actually preferrable to use it (unfortunately
we cannot get rid of the tex constants completely, as we still require them
for cube map txq).
Albeit filling in the format (1 channels or 4?) and the stuff related to mega-
or mini-fetch (what the hell is this...) is just a guess based on other usage
of vtx fetch instructions...
v2: it really needs to be done through texture cache (I botched the
testing because sb optimizations turned it automatically into tc, but
can't rely on it and isn't happening on tes).
Tested-by: Konstantin Kharlamov <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
0 files changed, 0 insertions, 0 deletions