Kenneth Graunke
9247546181
iris: state cleaning
2019-02-21 10:26:06 -08:00
Kenneth Graunke
7c40cdc12f
iris: comment about reemitting and flushing
2019-02-21 10:26:06 -08:00
Kenneth Graunke
d46c5b7c6c
iris: allow mapped buffers during execution (faster)
2019-02-21 10:26:06 -08:00
Kenneth Graunke
92de0f5aa6
iris: disable __gen_validate_value in release mode
2019-02-21 10:26:06 -08:00
Kenneth Graunke
08d1f13818
iris: drop assert for now
2019-02-21 10:26:06 -08:00
Kenneth Graunke
a9e357caac
iris: fix release builds
2019-02-21 10:26:06 -08:00
Kenneth Graunke
73f3c2cad0
iris: better VFI
2019-02-21 10:26:06 -08:00
Chris Wilson
2cbd42cddd
iris: IndexFormat = size/2
...
brw uses:
IndexFormat = index_size >> 1
anv uses:
IndexFromat = index_type[index_size]
2019-02-21 10:26:06 -08:00
Kenneth Graunke
5dcf62bb43
iris: use u_transfer helpers for now
2019-02-21 10:26:06 -08:00
Kenneth Graunke
48dc8bd4b0
iris: fix pull bufs that aren't the first user upload
2019-02-21 10:26:06 -08:00
Kenneth Graunke
eed7f7253e
iris: fill out pull constant buffers
2019-02-21 10:26:06 -08:00
Kenneth Graunke
90046b43cc
iris: make surface states for cbufs
2019-02-21 10:26:06 -08:00
Kenneth Graunke
4e007dbb30
iris: have more than one const_offset
2019-02-21 10:26:06 -08:00
Kenneth Graunke
9ea05ccf1f
iris: completely rewrite binder
...
now we get a new one per batch, and flush if it fills up
2019-02-21 10:26:06 -08:00
Kenneth Graunke
26cc609927
iris: better ubo handling
2019-02-21 10:26:06 -08:00
Chris Wilson
a504b98e72
iris: fix import from dri2/3
2019-02-21 10:26:06 -08:00
Kenneth Graunke
badefe50a0
iris: fix constant packet length to match i965
2019-02-21 10:26:06 -08:00
Kenneth Graunke
201a4d923c
iris: maybe slightly less boats uniforms
2019-02-21 10:26:06 -08:00
Kenneth Graunke
a6dd9caf0d
iris: flush always
2019-02-21 10:26:06 -08:00
Kenneth Graunke
04d1a3a7de
iris: transfers
2019-02-21 10:26:06 -08:00
Kenneth Graunke
7437c28c0d
iris: util_copy_framebuffer_state (ported from Rob's v3d patches)
2019-02-21 10:26:06 -08:00
Kenneth Graunke
f6017da83f
iris: fix VF INSTANCING length
2019-02-21 10:26:06 -08:00
Kenneth Graunke
7fb7704b2e
iris: more depth stuffs...
...
still missing stencil
2019-02-21 10:26:06 -08:00
Kenneth Graunke
02890c75b5
iris: fix 3DSTATE_VERTEX_ELEMENTS length
2019-02-21 10:26:06 -08:00
Kenneth Graunke
601ee4c189
iris: fix whitespace
2019-02-21 10:26:06 -08:00
Kenneth Graunke
4d24874236
iris: Lower the max number of decoded VBO lines
...
saint foo, vbo lines!
2019-02-21 10:26:06 -08:00
Kenneth Graunke
48ddd7212d
iris: fix decoding and undo testing code
2019-02-21 10:26:06 -08:00
Kenneth Graunke
f31eea1f00
iris: fix batch chaining...
...
don't chain a batch just for the end
2019-02-21 10:26:06 -08:00
Kenneth Graunke
5b914a6d58
iris: caps
2019-02-21 10:26:06 -08:00
Kenneth Graunke
604a1a1614
iris: chaining not growing
2019-02-21 10:26:06 -08:00
Kenneth Graunke
053fb51125
iris: just turn batch reset_and_clear_caches into reset
2019-02-21 10:26:06 -08:00
Kenneth Graunke
ca735c5e0c
iris: delete growing code and just die for now
...
we need proper batch chaining. without relocations, we can't grow,
since we've only allocated so much VMA for the batch, and the mechanism
only works if we can pin it at the old address
2019-02-21 10:26:06 -08:00
Kenneth Graunke
7167c6d508
iris: blorp bug fixes
...
I wrote this earlier, but it got lost somehow...
2019-02-21 10:26:06 -08:00
Kenneth Graunke
3650f8dfa1
iris: properly reject formats, fixes RGB32 rendering with texture float
2019-02-21 10:26:06 -08:00
Kenneth Graunke
4510098b9c
iris: proper # of uniforms
...
or at least closer...we were using bytes, we want 256-bit units...
2019-02-21 10:26:06 -08:00
Kenneth Graunke
6091dc470f
iris: proper length for VE packet?
2019-02-21 10:26:06 -08:00
Kenneth Graunke
64a3f7423a
iris: uniforms for VS
2019-02-21 10:26:06 -08:00
Kenneth Graunke
d4a64e0a64
iris: bump GL version to 4.2
2019-02-21 10:26:06 -08:00
Kenneth Graunke
44993d451c
iris: some depth stuff :(
2019-02-21 10:26:06 -08:00
Kenneth Graunke
eb12cc70f0
iris: assert surf init
2019-02-21 10:26:06 -08:00
Kenneth Graunke
a4a426008b
iris: no more drawing rectangle in blorp
...
there's some bug here as Jason's patches for only emitting 3DS_DR once
got reverted by Mark later on, apparently they regressed MSAA tests.
need to sort that out.
2019-02-21 10:26:06 -08:00
Kenneth Graunke
0e3870b9de
iris: blorp URB
2019-02-21 10:26:06 -08:00
Kenneth Graunke
01fe6df0ed
iris: make blorp pin the binder
2019-02-21 10:26:06 -08:00
Kenneth Graunke
063fc7bbb0
iris: linear staging buffers - fast CPU access...
2019-02-21 10:26:06 -08:00
Kenneth Graunke
84abf77c67
iris: hacky flushing for now
2019-02-21 10:26:06 -08:00
Kenneth Graunke
75a1639262
iris: drop the 48b printout, we never use anything else
2019-02-21 10:26:06 -08:00
Kenneth Graunke
86d7fd71f4
iris: add INTEL_DEBUG=reemit
2019-02-21 10:26:06 -08:00
Kenneth Graunke
b8a11ad256
iris: fix blorp prog data crashes
2019-02-21 10:26:06 -08:00
Kenneth Graunke
e2ba98ba39
iris: more blorp
2019-02-21 10:26:06 -08:00
Kenneth Graunke
1bba60a4bf
iris: fix sampler view crashes
2019-02-21 10:26:06 -08:00