Kenneth Graunke
fdbc205552
iris: multislice transfer maps
2019-02-21 10:26:07 -08:00
Kenneth Graunke
44248d16d2
iris: disable 6x MSAA support
2019-02-21 10:26:07 -08:00
Kenneth Graunke
bc1b4db3b3
iris: fix sample mask for MSAA-off
2019-02-21 10:26:07 -08:00
Kenneth Graunke
7b8c0f058e
iris: actually pin the buffers
2019-02-21 10:26:07 -08:00
Kenneth Graunke
5635abadef
iris: fix SO_DECL_LIST
2019-02-21 10:26:07 -08:00
Kenneth Graunke
dc3b927e97
iris: bother setting program_string_id...
...
not sure how useful this really is...
./bin/ext_transform_feedback-tessellation triangles flat_first
is hitting a case where we rebind the same VS program, but with
different streamout info...which isn't in the key...but is in the
cache...so we don't rebuild it...
2019-02-21 10:26:07 -08:00
Kenneth Graunke
9c1cefff52
iris: set even if no outputs
2019-02-21 10:26:07 -08:00
Kenneth Graunke
cef0b8b13b
iris: streamout
2019-02-21 10:26:07 -08:00
Kenneth Graunke
059c096eff
iris: SO buffers
2019-02-21 10:26:07 -08:00
Kenneth Graunke
5c00f5fdca
iris: Implement 3DSTATE_SO_DECL_LIST
2019-02-21 10:26:07 -08:00
Kenneth Graunke
6794f1ffb9
iris: rearrange iris_resource.h
2019-02-21 10:26:07 -08:00
Kenneth Graunke
a3f77eceb4
iris: slab allocate transfers
...
apparently we need this for u_threaded_context
2019-02-21 10:26:07 -08:00
Kenneth Graunke
5165308169
iris: don't crash on shader perf logs
2019-02-21 10:26:07 -08:00
Kenneth Graunke
f20fc950a7
iris: fix depth bounds clamp enables
...
fixes depthrange-clear among others
2019-02-21 10:26:07 -08:00
Kenneth Graunke
eb274a31bc
iris: fix clip flagging on fb changes
2019-02-21 10:26:07 -08:00
Kenneth Graunke
0232fbc2c4
iris: comment out l/a/i/la
...
in hopes of r/rg fallbacks
2019-02-21 10:26:07 -08:00
Kenneth Graunke
cf34dd7a61
iris: actually handle array layers in blits
2019-02-21 10:26:07 -08:00
Kenneth Graunke
33a17d566f
iris: keep DISCARD_RANGE
...
this isn't really an iris_bo_map flag, but the various resource mappers
want to check for it to avoid making temp copies.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
c0ab9c9890
iris: actually set cube bit properly
2019-02-21 10:26:07 -08:00
Kenneth Graunke
d849501f4c
iris: rename map->stride
2019-02-21 10:26:07 -08:00
Kenneth Graunke
36301bbe40
iris: fix zoffset asserts with 2DArray/Cube
2019-02-21 10:26:07 -08:00
Kenneth Graunke
7f39f4843f
iris: SBE change stash
...
not used yet, but want to flag it so I don't forget
2019-02-21 10:26:07 -08:00
Kenneth Graunke
8a080223e6
iris: just malloc one iris_genx_state instead of a bunch of oddball pieces
...
Things that are gen-specific can go in iris_genx_state. Things that are
gen-agnostic can go directly in ice->state.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
a7e0edffb6
iris: dead pointer
2019-02-21 10:26:07 -08:00
Kenneth Graunke
ccec5bab5b
iris: implement border color, fix other sampler nonsense
2019-02-21 10:26:07 -08:00
Kenneth Graunke
8a16249285
iris: border color memory zone :(
...
They took away our pointer bits, so now we need a pile of special code
to handle this instead of just using u_upload_mgr. :(
2019-02-21 10:26:07 -08:00
Kenneth Graunke
1c19e3b21f
iris: don't include binder in surface VMA range
2019-02-21 10:26:07 -08:00
Kenneth Graunke
1cea195a95
iris: state ref tuple
2019-02-21 10:26:07 -08:00
Kenneth Graunke
c0e80a8d0a
iris: null surface for unbound textures
...
avoids crashes...may not be really right
2019-02-21 10:26:07 -08:00
Kenneth Graunke
d358a4a040
iris: depth clears
2019-02-21 10:26:07 -08:00
Kenneth Graunke
470fb01a7a
iris: fix GS dispatch mode
2019-02-21 10:26:07 -08:00
Kenneth Graunke
01483c7933
iris: fix 3DSTATE_VERTEX_ELEMENTS / VF_INSTANCING for 0 elements
2019-02-21 10:26:07 -08:00
Kenneth Graunke
4c9067ae1d
iris: don't emit garbage 3DSTATE_VERTEX_BUFFERS when there aren't any
2019-02-21 10:26:07 -08:00
Kenneth Graunke
adf0c20461
iris: geometry shader support
2019-02-21 10:26:07 -08:00
Kenneth Graunke
de08ac9b0f
iris: TES uniform fixes
...
not that we have a TES, but...
2019-02-21 10:26:07 -08:00
Kenneth Graunke
d207f97840
iris: larger polygon offset
2019-02-21 10:26:07 -08:00
Kenneth Graunke
5188e54e97
iris: fix provoking vertex ordering
...
had this backwards
2019-02-21 10:26:07 -08:00
Kenneth Graunke
cbbd6a61c4
iris: maybe-flush before blorp operations
...
otherwise if we have a lot of back-to-back blorp operations we can
potentially overflow even the chained batch
2019-02-21 10:26:07 -08:00
Kenneth Graunke
e0f3971280
iris: lightmodel flat
2019-02-21 10:26:07 -08:00
Kenneth Graunke
4d04111bfb
iris: implement copy image
2019-02-21 10:26:07 -08:00
Kenneth Graunke
40fd2fd603
iris: fall back to u_generate_mipmap
...
It just does blits between layers, which is all we'd do anyway,
and it already should use BLORP because of iris_blit(). Plus it
handles 3D, which our code in i965 doesn't.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
6cf04c6ded
iris: clear fix
2019-02-21 10:26:07 -08:00
Kenneth Graunke
d416b81779
iris: shader dirty bits
2019-02-21 10:26:07 -08:00
Kenneth Graunke
b7cd3a083a
iris: rework DEBUG_REEMIT
...
don't want to have to special case this everywhere
2019-02-21 10:26:07 -08:00
Kenneth Graunke
72416a2d0d
iris: clears
2019-02-21 10:26:07 -08:00
Kenneth Graunke
eef0d33cee
iris: better boxing on maps
2019-02-21 10:26:07 -08:00
Kenneth Graunke
419fac2fc6
iris: fix fragcoord ytransform
...
the TGSI in the name is a misnomer, it actually controls wpos_ytransform
lowering in NIR these days.
2019-02-21 10:26:07 -08:00
Kenneth Graunke
e67951227d
iris: Disable unsupported mirror clamp modes
2019-02-21 10:26:07 -08:00
Kenneth Graunke
234cf647a4
iris: tidy comments about mirroring modes
2019-02-21 10:26:07 -08:00
Kenneth Graunke
a3a998f19a
iris: iris - fix QWord aligned endings after batch chaining rework
...
I need to save the primary batch size after expanding it to include
MI_BATCH_BUFFER_END and the QWord padding NOP
2019-02-21 10:26:07 -08:00