Kenneth Graunke
94569a6458
iris: rework format translation apis
2019-02-21 10:26:09 -08:00
Kenneth Graunke
42dccb1233
iris: use consistent copyright formatting
...
some of them had typos, didn't say 'authors or copyright holders',
or other mistakes. This is now https://opensource.org/licenses/MIT
text, formatted consistently.
2019-02-21 10:26:08 -08:00
Kenneth Graunke
84b30a2900
iris: call maybe_flush for each blorp operation
...
otherwise with high layer counts we may exceed two batches worth of
commands... (!)
2019-02-21 10:26:08 -08:00
Kenneth Graunke
0e059e4829
iris: assert depth is 1 in resource_copy_region
...
given the dstz parameter I don't think it does multiple slices..
2019-02-21 10:26:08 -08:00
Kenneth Graunke
03933a2d1b
iris: blorp blit multiple slices
...
fixes getteximage-depth
2019-02-21 10:26:08 -08:00
Kenneth Graunke
d5146ba670
iris: actually do stencil blits
2019-02-21 10:26:08 -08:00
Kenneth Graunke
dfe1ee4f6f
iris: comment everything
...
1. Write the code
2. Add comments
3. PROFIT (or just avoid cost of explaining or relearning things...)
2019-02-21 10:26:08 -08:00
Kenneth Graunke
f0558ca22c
iris: fix msaa flipping filters
2019-02-21 10:26:07 -08:00
Kenneth Graunke
5b8dd5f303
iris: fix blorp filters
...
we have to switch to blorp enums after the rebase, but also we were
probably doing it wrong for MSAA before this.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
cf34dd7a61
iris: actually handle array layers in blits
2019-02-21 10:26:07 -08:00
Kenneth Graunke
cbbd6a61c4
iris: maybe-flush before blorp operations
...
otherwise if we have a lot of back-to-back blorp operations we can
potentially overflow even the chained batch
2019-02-21 10:26:07 -08:00
Kenneth Graunke
4d04111bfb
iris: implement copy image
2019-02-21 10:26:07 -08:00
Kenneth Graunke
40fd2fd603
iris: fall back to u_generate_mipmap
...
It just does blits between layers, which is all we'd do anyway,
and it already should use BLORP because of iris_blit(). Plus it
handles 3D, which our code in i965 doesn't.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
72416a2d0d
iris: clears
2019-02-21 10:26:07 -08:00
Kenneth Graunke
698d45b725
iris: more blitting code to make readpixels work
2019-02-21 10:26:06 -08:00
Kenneth Graunke
9ca58ca517
iris: delete iris_pipe.c, shuffle code around
2019-02-21 10:26:05 -08:00