aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_io_to_scalar.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-11-07 14:06:56 -0800
committerJordan Justen <[email protected]>2016-12-07 09:00:49 -0800
commit12e0a6e25967e097f9d18e9ee25b30248f617b28 (patch)
treea01bc531611bcbdff9b896c5f4e1b2e7ba179d40 /src/compiler/nir/nir_lower_io_to_scalar.c
parentb74d4f6ca02715470d8f7726d19aff342873dbc6 (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/compiler/nir/nir_lower_io_to_scalar.c')
0 files changed, 0 insertions, 0 deletions