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
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
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
Kenneth Graunke
badefe50a0
iris: fix constant packet length to match i965
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
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
44993d451c
iris: some depth stuff :(
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
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
Kenneth Graunke
79466c1313
iris: move bo_offset_from_sba
...
for wider use
2019-02-21 10:26:06 -08:00
Kenneth Graunke
60d708bb80
iris: copy over i965's cache tracking
...
needed to split out vtbl so I can pipe control without ice
2019-02-21 10:26:06 -08:00
Kenneth Graunke
841b3b9003
iris: Defines for base addresses rather than numbers everywhere
2019-02-21 10:26:06 -08:00
Kenneth Graunke
c75a1254a4
iris: Move get_command_space to iris_batch.c
...
for reuse in blorp. it's a better interface anyway.
2019-02-21 10:26:06 -08:00
Kenneth Graunke
39e795d473
iris: fix texturing!
2019-02-21 10:26:06 -08:00
Kenneth Graunke
4929f020c3
iris: better SBE
2019-02-21 10:26:06 -08:00
Kenneth Graunke
21acc00490
iris: crazy pipe control code
...
imported from ~kwg/mesa pcx-2, gen < 8 code dropped
2019-02-21 10:26:06 -08:00
Kenneth Graunke
87aa880795
iris: fixes
2019-02-21 10:26:06 -08:00
Kenneth Graunke
35afa8c8f3
iris: better BT asserts
...
Probably nothing is working because texture upload isn't implemented
2019-02-21 10:26:05 -08:00
Kenneth Graunke
0148bd6839
iris: decoder fixes
2019-02-21 10:26:05 -08:00
Kenneth Graunke
5d2673ba7e
iris: set sampler views
2019-02-21 10:26:05 -08:00
Kenneth Graunke
34164ce622
iris: isv freeing fixes
2019-02-21 10:26:05 -08:00
Kenneth Graunke
d890aee15d
iris: SBA once at context creation, not per batch
...
hooray!
2019-02-21 10:26:05 -08:00
Kenneth Graunke
e0eac28bd4
iris: fix a scissor bug
2019-02-21 10:26:05 -08:00
Kenneth Graunke
0707ff3f2f
iris: assemble SAMPLER_STATE table at bind time
...
It's useless to allocate SAMPLER_STATEs in GPU memory on creation like
we do for SURFACE_STATES, because they need to be organized into a
contiguous block of memory. But we can do that at bind time, rather
than draw time.
2019-02-21 10:26:05 -08:00
Kenneth Graunke
199c080926
iris: same treatment for sampler views
2019-02-21 10:26:05 -08:00
Kenneth Graunke
f51204a160
iris: allocate SURFACE_STATEs up front and stop streaming them
2019-02-21 10:26:05 -08:00
Kenneth Graunke
24bcf1054b
iris: update vb BO handling now that we have softpin
2019-02-21 10:26:05 -08:00
Kenneth Graunke
9955e8334b
iris: binder fixes
2019-02-21 10:26:05 -08:00
Kenneth Graunke
6cbd1d1692
iris: binders
2019-02-21 10:26:05 -08:00
Kenneth Graunke
1af84d345a
iris: set EXEC_OBJECT_WRITE
2019-02-21 10:26:05 -08:00
Kenneth Graunke
651be7cf3d
iris: rewrite to use memzones and not relocs
2019-02-21 10:26:05 -08:00
Kenneth Graunke
3693307670
iris: some thinking about binding tables
2019-02-21 10:26:05 -08:00
Kenneth Graunke
a50a3a8edf
iris: uniform bits...badly
2019-02-21 10:26:05 -08:00
Kenneth Graunke
213b70a222
iris: sample mask...not 0.
...
We now have a first triangle!
2019-02-21 10:26:05 -08:00
Kenneth Graunke
1a6bb266cf
iris: write DISABLES are not write ENABLES...whoops
2019-02-21 10:26:05 -08:00
Kenneth Graunke
50a2596f46
iris: fix extents
2019-02-21 10:26:05 -08:00
Kenneth Graunke
1739dc0d5e
iris: more SF CL VPs
2019-02-21 10:26:05 -08:00