summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* iris: we can do multisample Z resolvesKenneth Graunke2019-02-211-1/+1
|
* iris: deal with Marek's new MSAA capsKenneth Graunke2019-02-211-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 formatsKenneth Graunke2019-02-211-2/+17
| | | | copied from brw_surface_formats.c
* iris: actually do stencil blitsKenneth Graunke2019-02-211-0/+19
|
* iris: refcounting, who needs it?Kenneth Graunke2019-02-211-1/+1
| | | | that's right, we do!
* iris: drop stencil handling now that u_transfer_helper does itKenneth Graunke2019-02-211-7/+2
|
* iris: use u_transfer_helper for depth stencil packing/unpackingKenneth Graunke2019-02-212-12/+36
|
* iris: WTF transfersKenneth Graunke2019-02-211-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 formatKenneth Graunke2019-02-211-1/+2
|
* iris: actually emit stencil packetsKenneth Graunke2019-02-214-48/+52
|
* iris: clear stencilKenneth Graunke2019-02-213-14/+62
|
* iris: depth or stencil fixesKenneth Graunke2019-02-211-9/+10
|
* iris: fill out more capsKenneth Graunke2019-02-211-16/+17
|
* iris: get angry about execbuf failuresKenneth Graunke2019-02-211-0/+2
| | | | want this to be easy to detect for now
* iris: simplify batch len qword alignmentKenneth Graunke2019-02-211-12/+6
| | | | Split from a patch by Chris Wilson so I can test it independently
* iris: rename ring to engineKenneth Graunke2019-02-213-9/+9
| | | | makes more sense these days. split from a patch by Chris Wilson
* iris: remember to set bo->userptrKenneth Graunke2019-02-211-0/+1
|
* iris: Wrap userptr for creating boChris Wilson2019-02-212-1/+62
|
* iris: sync bugfixes from brw_bufmgrKenneth Graunke2019-02-211-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 everythingKenneth Graunke2019-02-2120-118/+911
| | | | | | 1. Write the code 2. Add comments 3. PROFIT (or just avoid cost of explaining or relearning things...)
* iris: add minor commentsKenneth Graunke2019-02-212-1/+5
|
* iris: fix some hangs around null framebuffersDave Airlie2019-02-212-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 handleChris Wilson2019-02-211-0/+1
| | | | Required for gdm_bo_create_with_modifiers
* iris: we don't support textureGatherOffsets, need it loweredKenneth Graunke2019-02-211-1/+1
|
* iris: cube arrays are cubes tooKenneth Graunke2019-02-211-1/+2
|
* iris: fix sample maskKenneth Graunke2019-02-211-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_stateKenneth Graunke2019-02-212-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 limitKenneth Graunke2019-02-211-1/+1
| | | | this is total, so should be 1024, not 128
* iris: Avoid croaking when trying to create FBO surfaces with bad formatsKenneth Graunke2019-02-211-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 gatherKenneth Graunke2019-02-211-1/+2
|
* iris: BIG OL' HACK for UBO updatesKenneth Graunke2019-02-211-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 commentKenneth Graunke2019-02-211-0/+2
|
* iris: Don't reserve new binding table section unless things are dirtyKenneth Graunke2019-02-213-3/+14
|
* iris: implement texture/memory barriersKenneth Graunke2019-02-213-0/+52
|
* iris: drop unused bo parameterKenneth Graunke2019-02-211-5/+5
|
* iris: update bindings when changing programsKenneth Graunke2019-02-211-1/+1
| | | | | | the binding table layout depends on program info. not known to fix anything yet.
* iris: fix for disabling ssbosKenneth Graunke2019-02-211-3/+2
|
* iris: fix SSBO indexingKenneth Graunke2019-02-213-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 SSBOsKenneth Graunke2019-02-211-1/+9
|
* iris: fix TBO alignment to match 965Kenneth Graunke2019-02-211-1/+1
|
* iris: unbind compiled shaders if none are presentKenneth Graunke2019-02-213-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 loopKenneth Graunke2019-02-211-2/+1
| | | | num_ubos doesn't include Tim's magic UBO for regular uniforms, so +1
* iris: emit binding table for atomic counters and SSBOsKenneth Graunke2019-02-211-1/+23
|
* iris: implement set_shader_buffersKenneth Graunke2019-02-212-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_infoKenneth Graunke2019-02-212-5/+11
|
* iris: fix msaa flipping filtersKenneth Graunke2019-02-211-2/+2
|
* iris: expose more things that we already supportKenneth Graunke2019-02-211-3/+3
|
* iris: fix blorp filtersKenneth Graunke2019-02-211-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 confusionKenneth Graunke2019-02-211-1/+4
|
* iris: point sprite enablesKenneth Graunke2019-02-211-2/+31
|