Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iris: we can do multisample Z resolves | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | iris: deal with Marek's new MSAA caps | Kenneth Graunke | 2019-02-21 | 1 | -0/+2 |
| | | | | | storage sample count is equal to sample count for us, for now, so 0 the pipe cap and ignore the new parameter | ||||
* | iris: say no to more formats | Kenneth Graunke | 2019-02-21 | 1 | -2/+17 |
| | | | | copied from brw_surface_formats.c | ||||
* | iris: actually do stencil blits | Kenneth Graunke | 2019-02-21 | 1 | -0/+19 |
| | |||||
* | iris: refcounting, who needs it? | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | that's right, we do! | ||||
* | iris: drop stencil handling now that u_transfer_helper does it | Kenneth Graunke | 2019-02-21 | 1 | -7/+2 |
| | |||||
* | iris: use u_transfer_helper for depth stencil packing/unpacking | Kenneth Graunke | 2019-02-21 | 2 | -12/+36 |
| | |||||
* | iris: WTF transfers | Kenneth Graunke | 2019-02-21 | 1 | -11/+167 |
| | | | | | stencil unfortunately is stored in the Weird Tile Format (WTF or Tile-W) which needs special CPU detiling code. | ||||
* | iris: allow S8 as a stencil format | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | |||||
* | iris: actually emit stencil packets | Kenneth Graunke | 2019-02-21 | 4 | -48/+52 |
| | |||||
* | iris: clear stencil | Kenneth Graunke | 2019-02-21 | 3 | -14/+62 |
| | |||||
* | iris: depth or stencil fixes | Kenneth Graunke | 2019-02-21 | 1 | -9/+10 |
| | |||||
* | iris: fill out more caps | Kenneth Graunke | 2019-02-21 | 1 | -16/+17 |
| | |||||
* | iris: get angry about execbuf failures | Kenneth Graunke | 2019-02-21 | 1 | -0/+2 |
| | | | | want this to be easy to detect for now | ||||
* | iris: simplify batch len qword alignment | Kenneth Graunke | 2019-02-21 | 1 | -12/+6 |
| | | | | Split from a patch by Chris Wilson so I can test it independently | ||||
* | iris: rename ring to engine | Kenneth Graunke | 2019-02-21 | 3 | -9/+9 |
| | | | | makes more sense these days. split from a patch by Chris Wilson | ||||
* | iris: remember to set bo->userptr | Kenneth Graunke | 2019-02-21 | 1 | -0/+1 |
| | |||||
* | iris: Wrap userptr for creating bo | Chris Wilson | 2019-02-21 | 2 | -1/+62 |
| | |||||
* | iris: sync bugfixes from brw_bufmgr | Kenneth Graunke | 2019-02-21 | 1 | -64/+60 |
| | | | | | I wrote softpin support here first, then debugged and landed it in brw; some of those fixes need to get brought back. | ||||
* | iris: comment everything | Kenneth Graunke | 2019-02-21 | 20 | -118/+911 |
| | | | | | | 1. Write the code 2. Add comments 3. PROFIT (or just avoid cost of explaining or relearning things...) | ||||
* | iris: add minor comments | Kenneth Graunke | 2019-02-21 | 2 | -1/+5 |
| | |||||
* | iris: fix some hangs around null framebuffers | Dave Airlie | 2019-02-21 | 2 | -3/+27 |
| | | | | | | | | This fixes some cases in fbo-none* and framebuffer_no_attachments. I'm not sure this is correct otherwise, the tests don't all pass yet No idea if this is in any way the correct answer | ||||
* | iris: Set resource modifier on handle | Chris Wilson | 2019-02-21 | 1 | -0/+1 |
| | | | | Required for gdm_bo_create_with_modifiers | ||||
* | iris: we don't support textureGatherOffsets, need it lowered | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | iris: cube arrays are cubes too | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | |||||
* | iris: fix sample mask | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | | | | | | | 0xffffffff does not mean 1, it means enable as many as there actually are. we don't get set_sample_mask() calls until some masking is actually applied...i.e. it doesn't get updated based on # of samples in the FBO changing. | ||||
* | iris: drop pipe_shader_state | Kenneth Graunke | 2019-02-21 | 2 | -29/+19 |
| | | | | | | | | looking at the freedreno code, this is totally unnecessary! we can just store the NIR and be happy, and not have any vestiges of TGSI. plus we can reuse this structure for compute shaders, without needing a pipe_compute_state base. | ||||
* | iris: fix GS output component limit | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | this is total, so should be 1024, not 128 | ||||
* | iris: Avoid croaking when trying to create FBO surfaces with bad formats | Kenneth Graunke | 2019-02-21 | 1 | -2/+15 |
| | | | | | | | | create_surface happens before st_validate_attachment, which actually does the "hey, this is a render target now, is that OK?" check Fixes asserts in ./bin/arb_texture_view-rendering-formats, allowing the rest of the tests to run. | ||||
* | iris: enable texture gather | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | |||||
* | iris: BIG OL' HACK for UBO updates | Kenneth Graunke | 2019-02-21 | 1 | -0/+11 |
| | | | | | We need to re-push data when UBO changes. This will need to be replaced with a usage history based flushing system later. | ||||
* | iris: update a todo comment | Kenneth Graunke | 2019-02-21 | 1 | -0/+2 |
| | |||||
* | iris: Don't reserve new binding table section unless things are dirty | Kenneth Graunke | 2019-02-21 | 3 | -3/+14 |
| | |||||
* | iris: implement texture/memory barriers | Kenneth Graunke | 2019-02-21 | 3 | -0/+52 |
| | |||||
* | iris: drop unused bo parameter | Kenneth Graunke | 2019-02-21 | 1 | -5/+5 |
| | |||||
* | iris: update bindings when changing programs | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | | | the binding table layout depends on program info. not known to fix anything yet. | ||||
* | iris: fix for disabling ssbos | Kenneth Graunke | 2019-02-21 | 1 | -3/+2 |
| | |||||
* | iris: fix SSBO indexing | Kenneth Graunke | 2019-02-21 | 3 | -3/+14 |
| | | | | | | | | st/nir offsets SSBO indexes by MaxABOs. This is not what we want, as it bloats the binding tables. We'll need to adjust it to use info->num_abos as the offset and buffer base instead. For now, just use the inefficient format to get us rolling. We can add a PIPE_CAP later. | ||||
* | iris: enable SSBOs | Kenneth Graunke | 2019-02-21 | 1 | -1/+9 |
| | |||||
* | iris: fix TBO alignment to match 965 | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | iris: unbind compiled shaders if none are present | Kenneth Graunke | 2019-02-21 | 3 | -3/+21 |
| | | | | | avoids the case where you have a stale compiled shader bound, but no uncompiled shader bound, which is not just boats, but an entire marina | ||||
* | iris: shorten loop | Kenneth Graunke | 2019-02-21 | 1 | -2/+1 |
| | | | | num_ubos doesn't include Tim's magic UBO for regular uniforms, so +1 | ||||
* | iris: emit binding table for atomic counters and SSBOs | Kenneth Graunke | 2019-02-21 | 1 | -1/+23 |
| | |||||
* | iris: implement set_shader_buffers | Kenneth Graunke | 2019-02-21 | 2 | -0/+53 |
| | | | | | | for SSBOs/ABOs. We just stream out SURFACE_STATE for now...since it's a set_* API...and the buffer offset may change...not sure where else we'd do it. | ||||
* | iris: export get_shader_info | Kenneth Graunke | 2019-02-21 | 2 | -5/+11 |
| | |||||
* | iris: fix msaa flipping filters | Kenneth Graunke | 2019-02-21 | 1 | -2/+2 |
| | |||||
* | iris: expose more things that we already support | Kenneth Graunke | 2019-02-21 | 1 | -3/+3 |
| | |||||
* | iris: fix blorp filters | Kenneth Graunke | 2019-02-21 | 1 | -2/+48 |
| | | | | | we have to switch to blorp enums after the rebase, but also we were probably doing it wrong for MSAA before this. | ||||
* | iris: hack around samples confusion | Kenneth Graunke | 2019-02-21 | 1 | -1/+4 |
| | |||||
* | iris: point sprite enables | Kenneth Graunke | 2019-02-21 | 1 | -2/+31 |
| |