Kenneth Graunke [Mon, 16 Jul 2018 22:36:34 +0000 (15:36 -0700)]
iris: bits of multisample program key
Kenneth Graunke [Sun, 15 Jul 2018 23:20:16 +0000 (16:20 -0700)]
iris: save query type
Kenneth Graunke [Sun, 15 Jul 2018 05:15:39 +0000 (22:15 -0700)]
iris: draw indirect support?
Kenneth Graunke [Sat, 14 Jul 2018 08:29:33 +0000 (01:29 -0700)]
iris: fix CC_VIEWPORT
I was confusing depth bounds test with depth clamping
Kenneth Graunke [Thu, 12 Jul 2018 21:44:55 +0000 (14:44 -0700)]
iris: multislice transfer maps
Kenneth Graunke [Thu, 12 Jul 2018 17:51:14 +0000 (10:51 -0700)]
iris: disable 6x MSAA support
Kenneth Graunke [Thu, 12 Jul 2018 17:42:49 +0000 (10:42 -0700)]
iris: fix sample mask for MSAA-off
Kenneth Graunke [Thu, 12 Jul 2018 00:05:10 +0000 (17:05 -0700)]
iris: actually pin the buffers
Kenneth Graunke [Wed, 11 Jul 2018 23:26:06 +0000 (16:26 -0700)]
iris: fix SO_DECL_LIST
Kenneth Graunke [Wed, 11 Jul 2018 20:40:33 +0000 (13:40 -0700)]
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...
Kenneth Graunke [Wed, 11 Jul 2018 20:22:02 +0000 (13:22 -0700)]
iris: set even if no outputs
Kenneth Graunke [Wed, 11 Jul 2018 19:45:19 +0000 (12:45 -0700)]
iris: streamout
Kenneth Graunke [Fri, 29 Jun 2018 19:58:31 +0000 (12:58 -0700)]
iris: SO buffers
Kenneth Graunke [Fri, 29 Jun 2018 19:58:31 +0000 (12:58 -0700)]
iris: Implement 3DSTATE_SO_DECL_LIST
Kenneth Graunke [Mon, 9 Jul 2018 22:15:52 +0000 (15:15 -0700)]
iris: rearrange iris_resource.h
Kenneth Graunke [Fri, 6 Jul 2018 18:29:51 +0000 (11:29 -0700)]
iris: slab allocate transfers
apparently we need this for u_threaded_context
Kenneth Graunke [Thu, 5 Jul 2018 09:53:54 +0000 (02:53 -0700)]
iris: don't crash on shader perf logs
Kenneth Graunke [Thu, 5 Jul 2018 09:48:23 +0000 (02:48 -0700)]
iris: fix depth bounds clamp enables
fixes depthrange-clear among others
Kenneth Graunke [Thu, 5 Jul 2018 09:41:52 +0000 (02:41 -0700)]
iris: fix clip flagging on fb changes
Kenneth Graunke [Wed, 4 Jul 2018 23:11:01 +0000 (16:11 -0700)]
iris: comment out l/a/i/la
in hopes of r/rg fallbacks
Kenneth Graunke [Wed, 4 Jul 2018 23:07:28 +0000 (16:07 -0700)]
iris: actually handle array layers in blits
Kenneth Graunke [Wed, 4 Jul 2018 22:37:34 +0000 (15:37 -0700)]
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.
Kenneth Graunke [Wed, 4 Jul 2018 22:34:24 +0000 (15:34 -0700)]
iris: actually set cube bit properly
Kenneth Graunke [Wed, 4 Jul 2018 06:44:40 +0000 (23:44 -0700)]
iris: rename map->stride
Kenneth Graunke [Tue, 3 Jul 2018 20:23:47 +0000 (13:23 -0700)]
iris: fix zoffset asserts with 2DArray/Cube
Kenneth Graunke [Tue, 3 Jul 2018 06:16:20 +0000 (23:16 -0700)]
iris: SBE change stash
not used yet, but want to flag it so I don't forget
Kenneth Graunke [Mon, 2 Jul 2018 05:13:07 +0000 (22:13 -0700)]
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.
Kenneth Graunke [Mon, 2 Jul 2018 05:03:20 +0000 (22:03 -0700)]
iris: dead pointer
Kenneth Graunke [Thu, 28 Jun 2018 09:25:25 +0000 (02:25 -0700)]
iris: implement border color, fix other sampler nonsense
Kenneth Graunke [Thu, 28 Jun 2018 08:00:11 +0000 (01:00 -0700)]
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. :(
Kenneth Graunke [Thu, 28 Jun 2018 08:00:11 +0000 (01:00 -0700)]
iris: don't include binder in surface VMA range
Kenneth Graunke [Thu, 28 Jun 2018 07:57:49 +0000 (00:57 -0700)]
iris: state ref tuple
Kenneth Graunke [Wed, 27 Jun 2018 23:59:59 +0000 (16:59 -0700)]
iris: null surface for unbound textures
avoids crashes...may not be really right
Kenneth Graunke [Wed, 27 Jun 2018 05:41:07 +0000 (22:41 -0700)]
iris: depth clears
Kenneth Graunke [Tue, 26 Jun 2018 20:35:47 +0000 (13:35 -0700)]
iris: fix GS dispatch mode
Kenneth Graunke [Tue, 26 Jun 2018 20:32:19 +0000 (13:32 -0700)]
iris: fix 3DSTATE_VERTEX_ELEMENTS / VF_INSTANCING for 0 elements
Kenneth Graunke [Tue, 26 Jun 2018 20:25:22 +0000 (13:25 -0700)]
iris: don't emit garbage 3DSTATE_VERTEX_BUFFERS when there aren't any
Kenneth Graunke [Tue, 26 Jun 2018 20:11:18 +0000 (13:11 -0700)]
iris: geometry shader support
Kenneth Graunke [Tue, 26 Jun 2018 20:11:05 +0000 (13:11 -0700)]
iris: TES uniform fixes
not that we have a TES, but...
Kenneth Graunke [Tue, 26 Jun 2018 17:09:08 +0000 (10:09 -0700)]
iris: larger polygon offset
Kenneth Graunke [Tue, 26 Jun 2018 17:02:46 +0000 (10:02 -0700)]
iris: fix provoking vertex ordering
had this backwards
Kenneth Graunke [Tue, 26 Jun 2018 14:31:56 +0000 (07:31 -0700)]
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
Kenneth Graunke [Tue, 26 Jun 2018 08:00:37 +0000 (01:00 -0700)]
iris: lightmodel flat
Kenneth Graunke [Tue, 26 Jun 2018 07:28:52 +0000 (00:28 -0700)]
iris: implement copy image
Kenneth Graunke [Tue, 26 Jun 2018 07:17:36 +0000 (00:17 -0700)]
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.
Kenneth Graunke [Mon, 25 Jun 2018 20:27:14 +0000 (13:27 -0700)]
iris: clear fix
Kenneth Graunke [Mon, 25 Jun 2018 15:23:40 +0000 (08:23 -0700)]
iris: shader dirty bits
Kenneth Graunke [Mon, 25 Jun 2018 15:25:22 +0000 (08:25 -0700)]
iris: rework DEBUG_REEMIT
don't want to have to special case this everywhere
Kenneth Graunke [Sun, 24 Jun 2018 22:16:34 +0000 (15:16 -0700)]
iris: clears
Kenneth Graunke [Sun, 24 Jun 2018 07:27:58 +0000 (00:27 -0700)]
iris: better boxing on maps
Kenneth Graunke [Sun, 24 Jun 2018 06:52:43 +0000 (23:52 -0700)]
iris: fix fragcoord ytransform
the TGSI in the name is a misnomer, it actually controls wpos_ytransform
lowering in NIR these days.
Kenneth Graunke [Sun, 24 Jun 2018 00:30:18 +0000 (17:30 -0700)]
iris: Disable unsupported mirror clamp modes
Kenneth Graunke [Sun, 24 Jun 2018 00:19:50 +0000 (17:19 -0700)]
iris: tidy comments about mirroring modes
Kenneth Graunke [Sat, 23 Jun 2018 19:48:37 +0000 (12:48 -0700)]
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
Kenneth Graunke [Sat, 23 Jun 2018 19:31:17 +0000 (12:31 -0700)]
iris: colorize batchbuffer failures to make them stand out
Kenneth Graunke [Sat, 23 Jun 2018 19:18:11 +0000 (12:18 -0700)]
iris: bad inherited comments
Kenneth Graunke [Sat, 23 Jun 2018 19:13:03 +0000 (12:13 -0700)]
iris: Handle batch submission failure "better"
We used to not reset the batch, and just keep appending to it, so you'd
get the same invalid contents over and over.
I'd also really like to know about this, so aborting seems wise for now,
if not for the long term
Kenneth Graunke [Fri, 22 Jun 2018 16:57:45 +0000 (09:57 -0700)]
iris: don't always flush
Kenneth Graunke [Fri, 22 Jun 2018 16:57:36 +0000 (09:57 -0700)]
iris: print second batch size separately
Kenneth Graunke [Wed, 20 Jun 2018 23:11:08 +0000 (16:11 -0700)]
iris: actually init num_viewports
fixes regressions
Kenneth Graunke [Wed, 20 Jun 2018 23:07:05 +0000 (16:07 -0700)]
iris: scissor count fixes
Kenneth Graunke [Wed, 20 Jun 2018 23:03:43 +0000 (16:03 -0700)]
iris: fix VP iteration
Kenneth Graunke [Wed, 20 Jun 2018 22:57:46 +0000 (15:57 -0700)]
iris: fix num viewports to be based on programs
Kenneth Graunke [Wed, 20 Jun 2018 22:45:48 +0000 (15:45 -0700)]
iris: fix viewport counts and settings
seeing
set_viewport_state 0 1
set_viewport_state 1 15
which gives us a total of 16 viewports, updated incrementally
so keep old values around and update them...
Kenneth Graunke [Wed, 20 Jun 2018 22:35:10 +0000 (15:35 -0700)]
iris: max VP index
Kenneth Graunke [Wed, 20 Jun 2018 22:11:09 +0000 (15:11 -0700)]
iris: emit 3DSTATE_SBE_SWIZ
Kenneth Graunke [Wed, 20 Jun 2018 06:37:10 +0000 (23:37 -0700)]
iris: avoid crashing on unbound constant resources
instead, read from the workaround BO
Kenneth Graunke [Wed, 20 Jun 2018 04:46:56 +0000 (21:46 -0700)]
iris: fix caps so tests run again
Kenneth Graunke [Wed, 20 Jun 2018 02:22:47 +0000 (19:22 -0700)]
iris: fix major refcounting bug with resources
DONTBLOCK -> NULL was happening after taking a reference, causing those
to live forever
This resolves the OOM problems
Kenneth Graunke [Mon, 18 Jun 2018 18:30:23 +0000 (11:30 -0700)]
iris: support signed vertex buffer offsets
Kenneth Graunke [Mon, 18 Jun 2018 07:39:10 +0000 (00:39 -0700)]
iris: print refcounts in INTEL_DEBUG=submit
Kenneth Graunke [Mon, 18 Jun 2018 07:23:25 +0000 (00:23 -0700)]
iris: redo VB CSO a bit
Kenneth Graunke [Mon, 18 Jun 2018 05:22:03 +0000 (22:22 -0700)]
iris: print binder utilization in INTEL_DEBUG=submit
Kenneth Graunke [Mon, 18 Jun 2018 04:47:52 +0000 (21:47 -0700)]
iris: clean up some warnings so I can see through the noise
Kenneth Graunke [Sat, 16 Jun 2018 18:33:00 +0000 (11:33 -0700)]
iris: use pipe resources not direct BOs
Kenneth Graunke [Sat, 16 Jun 2018 17:41:38 +0000 (10:41 -0700)]
iris: indentation
Kenneth Graunke [Sat, 16 Jun 2018 17:39:33 +0000 (10:39 -0700)]
iris: don't leak keyboxes when searching for an existing program
Kenneth Graunke [Sat, 16 Jun 2018 17:39:26 +0000 (10:39 -0700)]
iris: don't leak sampler state table resources
Kenneth Graunke [Sat, 16 Jun 2018 17:15:24 +0000 (10:15 -0700)]
iris: rzalloc iris_compiled_shader so memcmp works even if padding creeps in
Kenneth Graunke [Sat, 16 Jun 2018 17:15:12 +0000 (10:15 -0700)]
iris: remove 4 bytes of padding in iris_compiled_shader
Kenneth Graunke [Sat, 16 Jun 2018 17:13:14 +0000 (10:13 -0700)]
iris: pc fixes
Kenneth Graunke [Sat, 16 Jun 2018 17:04:32 +0000 (10:04 -0700)]
iris: more leak fixes
Kenneth Graunke [Sat, 16 Jun 2018 16:56:59 +0000 (09:56 -0700)]
iris: plug leaks
Kenneth Graunke [Fri, 15 Jun 2018 19:44:59 +0000 (12:44 -0700)]
iris: clear dirty
Kenneth Graunke [Fri, 15 Jun 2018 23:22:58 +0000 (16:22 -0700)]
iris: some dirty fixes
two scissor bits, constants not being flagged, ZeroRTA, clip not being
flagged
Kenneth Graunke [Fri, 15 Jun 2018 19:33:58 +0000 (12:33 -0700)]
iris: bindings dirty tracking
Kenneth Graunke [Fri, 15 Jun 2018 19:20:54 +0000 (12:20 -0700)]
iris: flag DIRTY_WM properly
Kenneth Graunke [Wed, 13 Jun 2018 10:07:00 +0000 (03:07 -0700)]
iris: fix the validation list on new batches
Kenneth Graunke [Fri, 15 Jun 2018 18:55:28 +0000 (11:55 -0700)]
iris: save pointers to streamed state resources
will be used for cross-batch validation list fixing
Kenneth Graunke [Thu, 14 Jun 2018 22:51:59 +0000 (15:51 -0700)]
iris: put back the always flush - fixes some things :(
Kenneth Graunke [Wed, 13 Jun 2018 10:06:50 +0000 (03:06 -0700)]
iris: untested SAMPLER_STATE pin BO fix
Kenneth Graunke [Wed, 13 Jun 2018 09:15:40 +0000 (02:15 -0700)]
iris: delete some pointless STATIC_ASSERTS
these were useful when I was patching relocs
Kenneth Graunke [Sun, 10 Jun 2018 02:11:22 +0000 (19:11 -0700)]
iris: untested index buffer upload
Kenneth Graunke [Sat, 9 Jun 2018 07:01:09 +0000 (00:01 -0700)]
iris: state cleaning
Kenneth Graunke [Thu, 7 Jun 2018 09:28:56 +0000 (02:28 -0700)]
iris: comment about reemitting and flushing
Kenneth Graunke [Fri, 8 Jun 2018 08:28:16 +0000 (01:28 -0700)]
iris: allow mapped buffers during execution (faster)
Kenneth Graunke [Thu, 7 Jun 2018 22:33:52 +0000 (15:33 -0700)]
iris: disable __gen_validate_value in release mode
Kenneth Graunke [Thu, 7 Jun 2018 22:14:20 +0000 (15:14 -0700)]
iris: drop assert for now
Kenneth Graunke [Thu, 7 Jun 2018 08:54:29 +0000 (01:54 -0700)]
iris: fix release builds
Kenneth Graunke [Thu, 7 Jun 2018 08:45:47 +0000 (01:45 -0700)]
iris: better VFI