Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iris: early return properly | Kenneth Graunke | 2019-02-21 | 1 | -0/+1 |
| | |||||
* | iris: 36-bit overflow fixes | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | iris: Need to | 1 when asking for timestamps | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | iris: glGet timestamps, more correct timestamps | Kenneth Graunke | 2019-02-21 | 3 | -8/+48 |
| | |||||
* | iris: ...and SO prims emitted queries | Kenneth Graunke | 2019-02-21 | 1 | -7/+11 |
| | | | | | | | looks like we have queries some fails still due to races between snapshots_written and start/end not being garbage...not sure what that's about | ||||
* | iris: timestamps | Kenneth Graunke | 2019-02-21 | 1 | -1/+13 |
| | |||||
* | iris: drop explicit pinning | Kenneth Graunke | 2019-02-21 | 1 | -2/+0 |
| | | | | writes will already rw_bo or ro_bo that | ||||
* | iris: primitives generated query support | Kenneth Graunke | 2019-02-21 | 3 | -20/+41 |
| | |||||
* | iris: pipeline stats | Kenneth Graunke | 2019-02-21 | 1 | -1/+86 |
| | |||||
* | iris: play chicken with timer queries for now | Kenneth Graunke | 2019-02-21 | 1 | -0/+1 |
| | | | | | they have been crashy in the past and I don't want to risk tanking my laptop right before my XDC talk | ||||
* | iris: gpr0 to bool | Kenneth Graunke | 2019-02-21 | 1 | -1/+29 |
| | | | | I think OQ is basically working now. | ||||
* | iris: fix random failures via CS stall...but why? | Kenneth Graunke | 2019-02-21 | 1 | -0/+6 |
| | |||||
* | iris: flush batch when asking for result via QBO | Kenneth Graunke | 2019-02-21 | 1 | -1/+8 |
| | |||||
* | iris: results write | Kenneth Graunke | 2019-02-21 | 3 | -2/+35 |
| | |||||
* | iris: gen10+ workarounds and break fix | Kenneth Graunke | 2019-02-21 | 1 | -1/+12 |
| | |||||
* | iris: initial query code | Kenneth Graunke | 2019-02-21 | 3 | -11/+344 |
| | |||||
* | iris: LRM/SRM/SDI hooks | Kenneth Graunke | 2019-02-21 | 2 | -0/+118 |
| | |||||
* | iris: rw_bo for pipe controls | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | | this is used for WRITE IMMEDIATE... but maybe we don't want to for the workaround BO? | ||||
* | iris: use 0 for TCS passthrough program string ID | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | | | | | | the passthrough shader doesn't need a real program string ID - that's basically used for ARB programs indicating total program source code changes, or other pre-baked uniform changes, etc...none of which a passthrough shader has...so we don't need a unique identifier to distinguish them. We want to use a consistent value so we find existing passthrough shaders in the cache. | ||||
* | iris: Add support for TCS passthrough | Caio Marcelo de Oliveira Filho | 2019-02-21 | 3 | -23/+93 |
| | | | | | | | | | | | | | If no TCS is provided, create a "passthrough" TCS that will take the default values set in the API as constants and pass to the TES, along with any other inputs it expects. The code to create the NIR shader is the same as in i965. Tested with ./piglit run -t 'tess' quick_shader r and fixed a dozen crashes from that list. | ||||
* | iris: inherit the index buffer properly | Kenneth Graunke | 2019-02-21 | 2 | -7/+15 |
| | |||||
* | iris: delete bogus comment | Kenneth Graunke | 2019-02-21 | 1 | -1/+0 |
| | | | | Caio asked what was wrong. There is nothing wrong. :) | ||||
* | iris: properly re-pin stencil buffers | Kenneth Graunke | 2019-02-21 | 1 | -3/+8 |
| | |||||
* | iris: fix context restore of 3DSTATE_CONSTANT ranges | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | | | if clean we want to DO the pinning...not SKIP the pinning. thanks to Jordan Justen for catching this! | ||||
* | iris: silence const warning | Kenneth Graunke | 2019-02-21 | 1 | -1/+1 |
| | | | | | | | not sure why this is labeled const, I'm pretty sure we are taking the reference and owning this, so there's no particular reason we can't change it. it certainly seems to be working for non-compute. and, freedreno's ir3_shader.c seems to do this as well. still...gross :/ | ||||
* | iris: refactor program CSO stuff | Kenneth Graunke | 2019-02-21 | 2 | -25/+33 |
| | |||||
* | iris: Fix uses of gl_TessLevel* | Caio Marcelo de Oliveira Filho | 2019-02-21 | 1 | -0/+1 |
| | | | | | | | | | The backend compiler expects the gl_TessLevel* variables to be mapped as inputs instead of system values. Use the new PIPE_CAP to get this behavior from GLSL compiler. Tested with: tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-tessinner-tessouter-inputs-quads.shader_test | ||||
* | iris: totally untested icelake support | Kenneth Graunke | 2019-02-21 | 5 | -3/+57 |
| | |||||
* | iris: initialize "don't suck" bits, as Ben likes to call them | Kenneth Graunke | 2019-02-21 | 1 | -0/+10 |
| | |||||
* | iris: refactor LRIs in context setup | Kenneth Graunke | 2019-02-21 | 1 | -5/+13 |
| | | | | we're going to have more of them, so reduce the boilerplate | ||||
* | iris: enable ARB_enhanced_layouts | Kenneth Graunke | 2019-02-21 | 1 | -0/+1 |
| | |||||
* | iris: re-pin binding table contents if we didn't re-emit them | Kenneth Graunke | 2019-02-21 | 1 | -3/+12 |
| | | | | fixes glsl-vs-loop and other regressions from multibinder. | ||||
* | iris: move binder pinning outside the dirty == 0 check | Kenneth Graunke | 2019-02-21 | 1 | -7/+7 |
| | | | | | This might be a new batch with back to back non-dirty calls, if so we need to inherit the old binder... | ||||
* | iris: fix memzone_for_address since multibinder changes | Chris Wilson | 2019-02-21 | 1 | -3/+3 |
| | |||||
* | iris: update comments for multibinder | Kenneth Graunke | 2019-02-21 | 2 | -19/+14 |
| | |||||
* | iris: fix SO offset writes for multiple streams | Kenneth Graunke | 2019-02-21 | 1 | -5/+8 |
| | |||||
* | iris: Support multiple binder BOs, update Surface State Base Address | Kenneth Graunke | 2019-02-21 | 11 | -138/+234 |
| | |||||
* | iris: fix null FB and unbound tex surface state addresses | Kenneth Graunke | 2019-02-21 | 1 | -0/+4 |
| | |||||
* | iris: set EXEC_OBJECT_CAPTURE on all driver internal buffers | Kenneth Graunke | 2019-02-21 | 1 | -0/+6 |
| | |||||
* | iris: fix constant buffer 0 to be absolute | Kenneth Graunke | 2019-02-21 | 1 | -0/+11 |
| | | | | | thanks to Jason for catching this. Fixes some va64 tests. Surprisingly not much else, as apparently getting to UBO range 4 is uncommon! | ||||
* | iris: don't unconditionally emit 3DSTATE_VF / 3DSTATE_VF_TOPOLOGY | Kenneth Graunke | 2019-02-21 | 3 | -2/+33 |
| | | | | this was just laziness on my part | ||||
* | iris: skip over whole function if dirty == 0 | Kenneth Graunke | 2019-02-21 | 1 | -24/+35 |
| | | | | | kinda pointless in non-pathological cases, but does boost our score in the drawarrays case by 50%... | ||||
* | iris: Allow inlining of require/get_command_space | Kenneth Graunke | 2019-02-21 | 2 | -64/+70 |
| | | | | eliminates so many callqs for ptr++ | ||||
* | iris: use Eric's new caps helper | Kenneth Graunke | 2019-02-21 | 1 | -91/+12 |
| | | | | this does change a couple caps...PRIMITIVE_RESTART_FOR_PATCHES... | ||||
* | iris: new caps | Kenneth Graunke | 2019-02-21 | 1 | -0/+4 |
| | |||||
* | iris: fix blend state memcpy | Kenneth Graunke | 2019-02-21 | 1 | -5/+4 |
| | | | | thanks to Jason for noticing grumpy valgrind | ||||
* | iris: Skip primitive ID overrides if the shader wrote a custom value | Kenneth Graunke | 2019-02-21 | 1 | -8/+10 |
| | | | | Fixes glsl-1.50/execution/geometry/primitive-id-out | ||||
* | iris: fix crash when binding optional shader for the first time | Kenneth Graunke | 2019-02-21 | 1 | -1/+3 |
| | |||||
* | iris: handle level/layer in direct maps | Kenneth Graunke | 2019-02-21 | 1 | -5/+4 |
| | | | | needed now that we do 1D linear | ||||
* | iris: use linear for 1D textures | Kenneth Graunke | 2019-02-21 | 1 | -0/+3 |
| | | | | This gets us the gen9 compact linear storage |