diff options
author | Jordan Justen <[email protected]> | 2016-11-07 14:06:56 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-12-07 09:00:49 -0800 |
commit | 12e0a6e25967e097f9d18e9ee25b30248f617b28 (patch) | |
tree | a01bc531611bcbdff9b896c5f4e1b2e7ba179d40 /src/intel/Android.isl.mk | |
parent | b74d4f6ca02715470d8f7726d19aff342873dbc6 (diff) |
intel/blorp_blit: Split blorp blits if they are too large
We rename do_blorp_blit() to try_blorp_blit(), and add a return error
if the surface size for the blit is too large. Now, do_blorp_blit() is
rewritten to try to split the blit into smaller operations if
try_blorp_blit() fails.
Note: In this commit, try_blorp_blit() will always attempt to blit and
never return an error, which matches the previous behavior. We will
enable the size checking and splitting in a future commit.
The motivation for this splitting is that in some cases when we
flatten an image, it's dimensions grow, and this can then exceed the
programmable hardware limits. An example is w-tiled+MSAA blits.
v2:
* Use double instead of float. (Jason)
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/Android.isl.mk')
0 files changed, 0 insertions, 0 deletions