Kenneth Graunke [Sat, 28 Apr 2018 23:55:54 +0000 (16:55 -0700)]
iris: blorp bug fixes
I wrote this earlier, but it got lost somehow...
Kenneth Graunke [Fri, 27 Apr 2018 07:07:43 +0000 (00:07 -0700)]
iris: properly reject formats, fixes RGB32 rendering with texture float
Kenneth Graunke [Fri, 27 Apr 2018 06:42:16 +0000 (23:42 -0700)]
iris: proper # of uniforms
or at least closer...we were using bytes, we want 256-bit units...
Kenneth Graunke [Fri, 27 Apr 2018 06:42:10 +0000 (23:42 -0700)]
iris: proper length for VE packet?
Kenneth Graunke [Thu, 26 Apr 2018 20:42:20 +0000 (13:42 -0700)]
iris: uniforms for VS
Kenneth Graunke [Thu, 26 Apr 2018 06:47:06 +0000 (23:47 -0700)]
iris: bump GL version to 4.2
Kenneth Graunke [Wed, 25 Apr 2018 22:25:33 +0000 (15:25 -0700)]
iris: some depth stuff :(
Kenneth Graunke [Wed, 25 Apr 2018 06:38:10 +0000 (23:38 -0700)]
iris: assert surf init
Kenneth Graunke [Tue, 24 Apr 2018 18:26:49 +0000 (11:26 -0700)]
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.
Kenneth Graunke [Mon, 23 Apr 2018 20:26:06 +0000 (13:26 -0700)]
iris: blorp URB
Kenneth Graunke [Mon, 23 Apr 2018 18:01:00 +0000 (11:01 -0700)]
iris: make blorp pin the binder
Kenneth Graunke [Mon, 23 Apr 2018 04:44:46 +0000 (21:44 -0700)]
iris: linear staging buffers - fast CPU access...
Kenneth Graunke [Mon, 23 Apr 2018 04:44:40 +0000 (21:44 -0700)]
iris: hacky flushing for now
Kenneth Graunke [Mon, 23 Apr 2018 04:31:07 +0000 (21:31 -0700)]
iris: drop the 48b printout, we never use anything else
Kenneth Graunke [Mon, 23 Apr 2018 04:29:43 +0000 (21:29 -0700)]
iris: add INTEL_DEBUG=reemit
Kenneth Graunke [Mon, 23 Apr 2018 04:25:51 +0000 (21:25 -0700)]
iris: fix blorp prog data crashes
Kenneth Graunke [Sun, 22 Apr 2018 06:27:15 +0000 (23:27 -0700)]
iris: more blorp
Kenneth Graunke [Sun, 22 Apr 2018 05:44:04 +0000 (22:44 -0700)]
iris: fix sampler view crashes
Kenneth Graunke [Sun, 22 Apr 2018 05:27:37 +0000 (22:27 -0700)]
iris: drop bogus binder free
I was malloc'ing it but then I changed my mind and embedded it directly
Kenneth Graunke [Sun, 22 Apr 2018 05:20:32 +0000 (22:20 -0700)]
iris: more blitting code to make readpixels work
Kenneth Graunke [Sat, 21 Apr 2018 07:05:57 +0000 (00:05 -0700)]
iris: bits of blorp code
Kenneth Graunke [Sat, 21 Apr 2018 08:42:06 +0000 (01:42 -0700)]
iris: move bo_offset_from_sba
for wider use
Kenneth Graunke [Sat, 21 Apr 2018 06:28:03 +0000 (23:28 -0700)]
iris: copy over i965's cache tracking
needed to split out vtbl so I can pipe control without ice
Kenneth Graunke [Sat, 21 Apr 2018 01:45:25 +0000 (18:45 -0700)]
iris: pull in newer comments
Kenneth Graunke [Sat, 21 Apr 2018 01:44:22 +0000 (18:44 -0700)]
iris: Defines for base addresses rather than numbers everywhere
Kenneth Graunke [Sat, 21 Apr 2018 00:42:07 +0000 (17:42 -0700)]
iris: Move get_command_space to iris_batch.c
for reuse in blorp. it's a better interface anyway.
Kenneth Graunke [Fri, 20 Apr 2018 02:33:22 +0000 (19:33 -0700)]
iris: fix texturing!
Kenneth Graunke [Fri, 20 Apr 2018 02:04:17 +0000 (19:04 -0700)]
iris: better SBE
Kenneth Graunke [Thu, 19 Apr 2018 20:09:51 +0000 (13:09 -0700)]
iris: vma - fix assert
Kenneth Graunke [Thu, 19 Apr 2018 20:08:37 +0000 (13:08 -0700)]
iris: vma fixes - don't free binder address
Kenneth Graunke [Thu, 19 Apr 2018 20:03:21 +0000 (13:03 -0700)]
iris: bo reuse
Kenneth Graunke [Thu, 19 Apr 2018 19:52:51 +0000 (12:52 -0700)]
iris: crazy pipe control code
imported from ~kwg/mesa pcx-2, gen < 8 code dropped
Kenneth Graunke [Thu, 19 Apr 2018 19:07:44 +0000 (12:07 -0700)]
iris: fixes
Kenneth Graunke [Thu, 19 Apr 2018 19:01:09 +0000 (12:01 -0700)]
iris: fixes from i965
Kenneth Graunke [Tue, 10 Apr 2018 22:59:57 +0000 (15:59 -0700)]
iris: port bug fix from i965
Kenneth Graunke [Tue, 10 Apr 2018 07:39:27 +0000 (00:39 -0700)]
iris: fix index
Kenneth Graunke [Tue, 10 Apr 2018 07:20:32 +0000 (00:20 -0700)]
iris: increase allocator alignment
Kenneth Graunke [Sat, 7 Apr 2018 14:07:19 +0000 (07:07 -0700)]
iris: better BT asserts
Probably nothing is working because texture upload isn't implemented
Kenneth Graunke [Sat, 7 Apr 2018 13:59:22 +0000 (06:59 -0700)]
iris: decoder fixes
Kenneth Graunke [Sat, 7 Apr 2018 13:35:51 +0000 (06:35 -0700)]
iris: set sampler views
Kenneth Graunke [Sat, 7 Apr 2018 13:16:51 +0000 (06:16 -0700)]
iris: isv freeing fixes
Kenneth Graunke [Sat, 7 Apr 2018 08:18:12 +0000 (01:18 -0700)]
iris: TES stash
TODO: key setup
Kenneth Graunke [Sat, 7 Apr 2018 08:01:24 +0000 (01:01 -0700)]
iris: SBA once at context creation, not per batch
hooray!
Kenneth Graunke [Sat, 7 Apr 2018 07:58:07 +0000 (00:58 -0700)]
iris: fix a scissor bug
Kenneth Graunke [Sat, 7 Apr 2018 07:49:12 +0000 (00:49 -0700)]
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.
Kenneth Graunke [Sat, 7 Apr 2018 07:11:14 +0000 (00:11 -0700)]
iris: same treatment for sampler views
Kenneth Graunke [Sat, 7 Apr 2018 06:57:45 +0000 (23:57 -0700)]
iris: allocate SURFACE_STATEs up front and stop streaming them
Kenneth Graunke [Sat, 7 Apr 2018 06:16:11 +0000 (23:16 -0700)]
iris: delete more trash
Kenneth Graunke [Sat, 7 Apr 2018 06:08:52 +0000 (23:08 -0700)]
iris: canonicalize addresses.
Back to working! Woo!
Kenneth Graunke [Sat, 7 Apr 2018 05:39:01 +0000 (22:39 -0700)]
iris: validation dumping improvements
backported from i965. don't bother with (pinned) because everything is.
Kenneth Graunke [Sat, 7 Apr 2018 03:33:17 +0000 (20:33 -0700)]
iris: update vb BO handling now that we have softpin
Kenneth Graunke [Sat, 7 Apr 2018 00:01:45 +0000 (17:01 -0700)]
iris: decoder fixes
Kenneth Graunke [Fri, 6 Apr 2018 23:31:01 +0000 (16:31 -0700)]
iris: binder fixes
Kenneth Graunke [Fri, 6 Apr 2018 23:21:21 +0000 (16:21 -0700)]
iris: hook up batch decoder
Kenneth Graunke [Fri, 6 Apr 2018 18:44:59 +0000 (11:44 -0700)]
iris: binders
Kenneth Graunke [Fri, 6 Apr 2018 18:41:14 +0000 (11:41 -0700)]
iris: include p_defines.h in iris_bufmgr.h
for PIPE_TRANSFER_WRITE and friends
Kenneth Graunke [Fri, 6 Apr 2018 07:19:57 +0000 (00:19 -0700)]
iris: set EXEC_OBJECT_WRITE
Kenneth Graunke [Fri, 6 Apr 2018 07:05:24 +0000 (00:05 -0700)]
iris: rewrite to use memzones and not relocs
Kenneth Graunke [Fri, 6 Apr 2018 04:48:33 +0000 (21:48 -0700)]
iris: more uploaders
Kenneth Graunke [Fri, 6 Apr 2018 00:04:54 +0000 (17:04 -0700)]
iris: Also set SUPPORTS_48B? Not sure if necessary.
Kenneth Graunke [Fri, 6 Apr 2018 00:03:07 +0000 (17:03 -0700)]
iris: dump gtt offset in dump_validation_list
Kenneth Graunke [Thu, 5 Apr 2018 21:52:53 +0000 (14:52 -0700)]
iris: fix icache memzone
Kenneth Graunke [Tue, 3 Apr 2018 08:40:23 +0000 (01:40 -0700)]
iris: Soft-pin the universe
Breaks everything, woo!
Kenneth Graunke [Mon, 26 Mar 2018 21:11:55 +0000 (14:11 -0700)]
iris: some thinking about binding tables
Kenneth Graunke [Mon, 26 Mar 2018 23:14:29 +0000 (16:14 -0700)]
iris: bufmgr updates.
Drop BO_ALLOC_BUSY (best not to hand people a loaded gun...)
Drop vestiges of alignment
Kenneth Graunke [Sat, 10 Feb 2018 07:38:08 +0000 (23:38 -0800)]
iris: stop adding 9 to our varyings
Kenneth Graunke [Sat, 10 Feb 2018 06:46:28 +0000 (22:46 -0800)]
iris: set strides on transfers
Kenneth Graunke [Sat, 10 Feb 2018 06:18:27 +0000 (22:18 -0800)]
iris: enable a few more formats
Kenneth Graunke [Sat, 10 Feb 2018 05:58:08 +0000 (21:58 -0800)]
iris: decode batches if they fail to submit
Kenneth Graunke [Sat, 10 Feb 2018 05:58:00 +0000 (21:58 -0800)]
iris: NOOP pad batches correctly
Kenneth Graunke [Sat, 10 Feb 2018 00:45:04 +0000 (16:45 -0800)]
iris: warn if execbuf fails
Kenneth Graunke [Fri, 9 Feb 2018 22:21:54 +0000 (14:21 -0800)]
iris: uniform bits...badly
Kenneth Graunke [Wed, 31 Jan 2018 01:44:26 +0000 (17:44 -0800)]
iris: sample mask...not 0.
We now have a first triangle!
Kenneth Graunke [Wed, 31 Jan 2018 01:40:44 +0000 (17:40 -0800)]
iris: write DISABLES are not write ENABLES...whoops
Kenneth Graunke [Wed, 31 Jan 2018 01:36:24 +0000 (17:36 -0800)]
iris: fix extents
Kenneth Graunke [Wed, 31 Jan 2018 01:18:17 +0000 (17:18 -0800)]
iris: catastrophic state pointer mistake
Kenneth Graunke [Mon, 17 Dec 2018 23:17:54 +0000 (15:17 -0800)]
iris: more SF CL VPs
Kenneth Graunke [Tue, 30 Jan 2018 20:30:34 +0000 (12:30 -0800)]
iris: fix dmabuf retval comparisons
0 means success
Kenneth Graunke [Tue, 30 Jan 2018 20:30:30 +0000 (12:30 -0800)]
iris: more sketchy SBE
Kenneth Graunke [Tue, 30 Jan 2018 10:44:25 +0000 (02:44 -0800)]
iris: compctrl
oh, also run things
Kenneth Graunke [Tue, 30 Jan 2018 10:16:34 +0000 (02:16 -0800)]
iris: actually pin the instruction cache buffers
Kenneth Graunke [Tue, 30 Jan 2018 09:50:44 +0000 (01:50 -0800)]
iris: smaller blend state
Kenneth Graunke [Tue, 30 Jan 2018 09:44:07 +0000 (01:44 -0800)]
iris: don't do samplers for disabled stages
Kenneth Graunke [Tue, 30 Jan 2018 09:40:14 +0000 (01:40 -0800)]
iris: render targets!
Kenneth Graunke [Tue, 30 Jan 2018 09:09:53 +0000 (01:09 -0800)]
iris: fix silly unused batch with addr macro
Kenneth Graunke [Mon, 29 Jan 2018 23:06:08 +0000 (15:06 -0800)]
iris: warning fixes
Kenneth Graunke [Mon, 29 Jan 2018 23:06:04 +0000 (15:06 -0800)]
iris: basic SBE code
Kenneth Graunke [Fri, 26 Jan 2018 05:58:31 +0000 (21:58 -0800)]
iris: alpha testing in PSB
Kenneth Graunke [Fri, 26 Jan 2018 05:53:41 +0000 (21:53 -0800)]
iris: blend state
Kenneth Graunke [Fri, 26 Jan 2018 05:39:44 +0000 (21:39 -0800)]
iris: dummy constants
Kenneth Graunke [Fri, 26 Jan 2018 05:23:45 +0000 (21:23 -0800)]
iris: URB configs.
Kenneth Graunke [Fri, 26 Jan 2018 04:12:37 +0000 (20:12 -0800)]
iris: actually set KSP offsets
Kenneth Graunke [Fri, 26 Jan 2018 04:04:37 +0000 (20:04 -0800)]
iris: actually softpin at an address
Kenneth Graunke [Fri, 26 Jan 2018 03:43:45 +0000 (19:43 -0800)]
iris: actually destroy the cache
Kenneth Graunke [Fri, 26 Jan 2018 03:39:10 +0000 (19:39 -0800)]
iris: rewrite program cache to use u_upload_mgr
Kenneth Graunke [Thu, 25 Jan 2018 18:57:13 +0000 (10:57 -0800)]
iris: no NEW_SBA
Kenneth Graunke [Thu, 25 Jan 2018 10:13:28 +0000 (02:13 -0800)]
iris: shuffle comments
Kenneth Graunke [Thu, 25 Jan 2018 10:09:59 +0000 (02:09 -0800)]
iris: bits of WM key
Kenneth Graunke [Thu, 25 Jan 2018 10:03:18 +0000 (02:03 -0800)]
iris: move key pop to state module
shader key population needs to read state
Kenneth Graunke [Thu, 25 Jan 2018 09:53:52 +0000 (01:53 -0800)]
iris: fix SBA