Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | iris: reemit blend state for alpha test function changes | Kenneth Graunke | 2019-02-21 | 1 | -0/+3 |
| | | | | fixes bin/fbo-alphatest-formats GL_EXT_texture_snorm | ||||
* | iris: fix Z24 | Kenneth Graunke | 2019-02-21 | 2 | -3/+3 |
| | | | | | | This was backwards. thanks to Jason Ekstrand for realizing that I was seeing the wrong bits. | ||||
* | iris: fix EmitNoIndirect | Kenneth Graunke | 2019-02-21 | 1 | -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 detect | Kenneth Graunke | 2019-02-21 | 1 | -0/+4 |
| | | | | otherwise it just silently fails and looks like some obscure problem | ||||
* | iris: fill out MAX_PATCH_VERTICES | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | |||||
* | iris: fix SGVS when there are no valid vertex elements | Kenneth Graunke | 2019-02-21 | 1 | -4/+6 |
| | | | | tessellation nop.shader_test now passes | ||||
* | iris: vertex ID, instance ID | Kenneth Graunke | 2019-02-21 | 3 | -3/+29 |
| | |||||
* | iris: don't emit SO_BUFFERS and SO_DECL_LIST unless streamout is enabled | Kenneth Graunke | 2019-02-21 | 1 | -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 yet | Kenneth Graunke | 2019-02-21 | 1 | -1/+61 |
| | |||||
* | iris: TES program key inputs | Kenneth Graunke | 2019-02-21 | 1 | -0/+42 |
| | |||||
* | iris: fix texture buffer stride | Kenneth Graunke | 2019-02-21 | 1 | -1/+5 |
| | |||||
* | iris: fix sampler views of TBOs | Kenneth Graunke | 2019-02-21 | 1 | -19/+32 |
| | | | | we can't read levels/layers, they're invalid for PIPE_BUFFER | ||||
* | iris: fix crash | Kenneth Graunke | 2019-02-21 | 1 | -1/+2 |
| | |||||
* | iris: record FS NOS | Kenneth Graunke | 2019-02-21 | 1 | -0/+26 |
| | |||||
* | iris: NOS mechanics | Kenneth Graunke | 2019-02-21 | 3 | -0/+32 |
| | |||||
* | iris: bind state helper function | Kenneth Graunke | 2019-02-21 | 1 | -16/+16 |
| | |||||
* | iris: s/hwcso/state/g | Kenneth Graunke | 2019-02-21 | 1 | -14/+14 |
| | |||||
* | iris: bits of multisample program key | Kenneth Graunke | 2019-02-21 | 2 | -12/+12 |
| | |||||
* | iris: save query type | Kenneth Graunke | 2019-02-21 | 1 | -3/+6 |
| | |||||
* | iris: draw indirect support? | Kenneth Graunke | 2019-02-21 | 1 | -1/+48 |
| | |||||
* | iris: fix CC_VIEWPORT | Kenneth Graunke | 2019-02-21 | 2 | -29/+53 |
| | | | | I was confusing depth bounds test with depth clamping | ||||
* | iris: multislice transfer maps | Kenneth Graunke | 2019-02-21 | 2 | -22/+36 |
| | |||||
* | iris: disable 6x MSAA support | Kenneth Graunke | 2019-02-21 | 1 | -2/+3 |
| |