summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* iris: reemit blend state for alpha test function changesKenneth Graunke2019-02-211-0/+3
| | | | fixes bin/fbo-alphatest-formats GL_EXT_texture_snorm
* iris: fix Z24Kenneth Graunke2019-02-212-3/+3
| | | | | | This was backwards. thanks to Jason Ekstrand for realizing that I was seeing the wrong bits.
* iris: fix EmitNoIndirectKenneth Graunke2019-02-211-7/+8
| | | | | we were using pipe stages, which are ordered dumbly for historical reasons. we want gl_shader_stage here. this got us the wrong options
* iris: assert about passthrough shaders to make this easier to detectKenneth Graunke2019-02-211-0/+4
| | | | otherwise it just silently fails and looks like some obscure problem
* iris: fill out MAX_PATCH_VERTICESKenneth Graunke2019-02-211-1/+2
|
* iris: fix SGVS when there are no valid vertex elementsKenneth Graunke2019-02-211-4/+6
| | | | tessellation nop.shader_test now passes
* iris: vertex ID, instance IDKenneth Graunke2019-02-213-3/+29
|
* iris: don't emit SO_BUFFERS and SO_DECL_LIST unless streamout is enabledKenneth Graunke2019-02-211-21/+24
| | | | | Otherwise on the first draw, if XFB isn't enabled, we get a pile of MI_NOOPS where SO_BUFFERS should be
* iris: compile a TCS...don't bother with passthrough yetKenneth Graunke2019-02-211-1/+61
|
* iris: TES program key inputsKenneth Graunke2019-02-211-0/+42
|
* iris: fix texture buffer strideKenneth Graunke2019-02-211-1/+5
|
* iris: fix sampler views of TBOsKenneth Graunke2019-02-211-19/+32
| | | | we can't read levels/layers, they're invalid for PIPE_BUFFER
* iris: fix crashKenneth Graunke2019-02-211-1/+2
|
* iris: record FS NOSKenneth Graunke2019-02-211-0/+26
|
* iris: NOS mechanicsKenneth Graunke2019-02-213-0/+32
|
* iris: bind state helper functionKenneth Graunke2019-02-211-16/+16
|
* iris: s/hwcso/state/gKenneth Graunke2019-02-211-14/+14
|
* iris: bits of multisample program keyKenneth Graunke2019-02-212-12/+12
|
* iris: save query typeKenneth Graunke2019-02-211-3/+6
|
* iris: draw indirect support?Kenneth Graunke2019-02-211-1/+48
|
* iris: fix CC_VIEWPORTKenneth Graunke2019-02-212-29/+53
| | | | I was confusing depth bounds test with depth clamping
* iris: multislice transfer mapsKenneth Graunke2019-02-212-22/+36
|
* iris: disable 6x MSAA supportKenneth Graunke2019-02-211-2/+3
|