summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* iris: early return properlyKenneth Graunke2019-02-211-0/+1
|
* iris: 36-bit overflow fixesKenneth Graunke2019-02-211-1/+1
|
* iris: Need to | 1 when asking for timestampsKenneth Graunke2019-02-211-1/+1
|
* iris: glGet timestamps, more correct timestampsKenneth Graunke2019-02-213-8/+48
|
* iris: ...and SO prims emitted queriesKenneth Graunke2019-02-211-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: timestampsKenneth Graunke2019-02-211-1/+13
|
* iris: drop explicit pinningKenneth Graunke2019-02-211-2/+0
| | | | writes will already rw_bo or ro_bo that
* iris: primitives generated query supportKenneth Graunke2019-02-213-20/+41
|
* iris: pipeline statsKenneth Graunke2019-02-211-1/+86
|
* iris: play chicken with timer queries for nowKenneth Graunke2019-02-211-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 boolKenneth Graunke2019-02-211-1/+29
| | | | I think OQ is basically working now.
* iris: fix random failures via CS stall...but why?Kenneth Graunke2019-02-211-0/+6
|
* iris: flush batch when asking for result via QBOKenneth Graunke2019-02-211-1/+8
|
* iris: results writeKenneth Graunke2019-02-213-2/+35
|
* iris: gen10+ workarounds and break fixKenneth Graunke2019-02-211-1/+12
|
* iris: initial query codeKenneth Graunke2019-02-213-11/+344
|
* iris: LRM/SRM/SDI hooksKenneth Graunke2019-02-212-0/+118
|
* iris: rw_bo for pipe controlsKenneth Graunke2019-02-211-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 IDKenneth Graunke2019-02-211-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 passthroughCaio Marcelo de Oliveira Filho2019-02-213-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 properlyKenneth Graunke2019-02-212-7/+15
|
* iris: delete bogus commentKenneth Graunke2019-02-211-1/+0
| | | | Caio asked what was wrong. There is nothing wrong. :)
* iris: properly re-pin stencil buffersKenneth Graunke2019-02-211-3/+8
|
* iris: fix context restore of 3DSTATE_CONSTANT rangesKenneth Graunke2019-02-211-1/+1
| | | | | | if clean we want to DO the pinning...not SKIP the pinning. thanks to Jordan Justen for catching this!
* iris: silence const warningKenneth Graunke2019-02-211-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 stuffKenneth Graunke2019-02-212-25/+33
|
* iris: Fix uses of gl_TessLevel*Caio Marcelo de Oliveira Filho2019-02-211-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 supportKenneth Graunke2019-02-215-3/+57
|
* iris: initialize "don't suck" bits, as Ben likes to call themKenneth Graunke2019-02-211-0/+10
|
* iris: refactor LRIs in context setupKenneth Graunke2019-02-211-5/+13
| | | | we're going to have more of them, so reduce the boilerplate
* iris: enable ARB_enhanced_layoutsKenneth Graunke2019-02-211-0/+1
|
* iris: re-pin binding table contents if we didn't re-emit themKenneth Graunke2019-02-211-3/+12
| | | | fixes glsl-vs-loop and other regressions from multibinder.
* iris: move binder pinning outside the dirty == 0 checkKenneth Graunke2019-02-211-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 changesChris Wilson2019-02-211-3/+3
|
* iris: update comments for multibinderKenneth Graunke2019-02-212-19/+14
|
* iris: fix SO offset writes for multiple streamsKenneth Graunke2019-02-211-5/+8
|
* iris: Support multiple binder BOs, update Surface State Base AddressKenneth Graunke2019-02-2111-138/+234
|
* iris: fix null FB and unbound tex surface state addressesKenneth Graunke2019-02-211-0/+4
|
* iris: set EXEC_OBJECT_CAPTURE on all driver internal buffersKenneth Graunke2019-02-211-0/+6
|
* iris: fix constant buffer 0 to be absoluteKenneth Graunke2019-02-211-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_TOPOLOGYKenneth Graunke2019-02-213-2/+33
| | | | this was just laziness on my part
* iris: skip over whole function if dirty == 0Kenneth Graunke2019-02-211-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_spaceKenneth Graunke2019-02-212-64/+70
| | | | eliminates so many callqs for ptr++
* iris: use Eric's new caps helperKenneth Graunke2019-02-211-91/+12
| | | | this does change a couple caps...PRIMITIVE_RESTART_FOR_PATCHES...
* iris: new capsKenneth Graunke2019-02-211-0/+4
|
* iris: fix blend state memcpyKenneth Graunke2019-02-211-5/+4
| | | | thanks to Jason for noticing grumpy valgrind
* iris: Skip primitive ID overrides if the shader wrote a custom valueKenneth Graunke2019-02-211-8/+10
| | | | Fixes glsl-1.50/execution/geometry/primitive-id-out
* iris: fix crash when binding optional shader for the first timeKenneth Graunke2019-02-211-1/+3
|
* iris: handle level/layer in direct mapsKenneth Graunke2019-02-211-5/+4
| | | | needed now that we do 1D linear
* iris: use linear for 1D texturesKenneth Graunke2019-02-211-0/+3
| | | | This gets us the gen9 compact linear storage