Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32) | Tim Rowley | 2016-03-25 | 1 | -1/+1 |
| | |||||
* | swr: [rasterizer core] NUMA optimizations... | Tim Rowley | 2016-03-25 | 5 | -65/+105 |
| | | | | | - Affinitize hot-tile memory to specific NUMA nodes. - Only do BE work for macrotiles assoicated with the numa node | ||||
* | swr: [rasterizer jitter] Fix logic bug for alpha-to-coverage. | Tim Rowley | 2016-03-25 | 1 | -2/+11 |
| | |||||
* | swr: [rasterizer core] Fix Compute workitem retirement | Tim Rowley | 2016-03-25 | 4 | -31/+22 |
| | |||||
* | swr: [rasterizer core] Cleanup state ring arena after last draw that ↵ | Tim Rowley | 2016-03-25 | 3 | -2/+14 |
| | | | | | | references it completes Rather than waiting for the API thread to re-use it. | ||||
* | swr: [rasterizer jitter] add missing include for llvm jitevents | Tim Rowley | 2016-03-25 | 1 | -0/+4 |
| | |||||
* | swr: [rasterizer core] Reduce Arena blocksize to 128KB (from 1MB). | Tim Rowley | 2016-03-25 | 1 | -3/+7 |
| | | | | | With global allocator this doesn't seem to affect performance at all. Overall memory consumption drops by up to 85%. | ||||
* | swr: [rasterizer core] One last pass at Arena optimizations | Tim Rowley | 2016-03-25 | 1 | -15/+15 |
| | |||||
* | swr: [rasterizer core] CachedArena optimizations | Tim Rowley | 2016-03-25 | 3 | -210/+161 |
| | | | | | | Reduce list traversal during Alloc and Free. Add ability to have multiple lists based on alloc size (not used for now) | ||||
* | swr: [rasterizer jitter] support llvm-svn | Tim Rowley | 2016-03-25 | 6 | -12/+37 |
| | |||||
* | swr: [rasterizer core] Globally cache allocated arena blocks for fast ↵ | Tim Rowley | 2016-03-25 | 8 | -46/+168 |
| | | | | re-allocation. | ||||
* | swr: [rasterizer] more arena work | Tim Rowley | 2016-03-25 | 5 | -10/+110 |
| | |||||
* | swr: [rasterizer core] Add clipping against user clip distances in the ↵ | Tim Rowley | 2016-03-25 | 1 | -2/+12 |
| | | | | NullPS backend. | ||||
* | swr: [rasterizer core] Arena optimizations - preparing for global allocator. | Tim Rowley | 2016-03-25 | 5 | -187/+131 |
| | |||||
* | swr: [rasterizer core] Reset DrawContext arena at end of draw rather than ↵ | Tim Rowley | 2016-03-25 | 2 | -21/+4 |
| | | | | | | | upon reclaim of DC Keeps overall memory consumption lower. Also, remove unused knobs. | ||||
* | swr: [rasterizer core] Add clipping of user clip planes in clipper. | Tim Rowley | 2016-03-25 | 1 | -0/+86 |
| | |||||
* | swr: [rasterizer] Reduce max in-flight draws to 96 (by default) | Tim Rowley | 2016-03-25 | 1 | -1/+1 |
| | |||||
* | swr: [rasterizer] Fix run-time check asserts | Tim Rowley | 2016-03-25 | 2 | -8/+7 |
| | | | | | One innocuous (uninitialized variable), and one not so innocuous (stack corruption). | ||||
* | swr: [rasterizer jitter] signed immediate builder | Tim Rowley | 2016-03-25 | 2 | -0/+8 |
| | |||||
* | swr: [rasterizer common] changes for cygwin | Tim Rowley | 2016-03-25 | 1 | -1/+4 |
| | |||||
* | swr: [rasterizer] code styling and update copyrights | Tim Rowley | 2016-03-25 | 10 | -328/+328 |
| | |||||
* | swr: [rasterizer core] Guard against enquing work to invalid hot tiles | Tim Rowley | 2016-03-25 | 1 | -0/+5 |
| | |||||
* | swr: [rasterizer] Stop setting viewport size to larger than hottile array | Tim Rowley | 2016-03-25 | 1 | -0/+6 |
| | | | | Guard against enquing work to invalid tiles | ||||
* | swr: [rasterizer] Discard work + misc fixes | Tim Rowley | 2016-03-25 | 9 | -28/+119 |
| | |||||
* | swr: [rasterizer] remove use of BYTE type | Tim Rowley | 2016-03-25 | 15 | -74/+65 |
| | |||||
* | swr: [rasterizer core] Fix crash that can occur when switching contexts | Tim Rowley | 2016-03-25 | 3 | -1/+22 |
| | |||||
* | swr: [rasterizer] remove unused knob | Tim Rowley | 2016-03-25 | 1 | -8/+0 |
| | |||||
* | swr: [rasterizer core] subcontext rework | Tim Rowley | 2016-03-25 | 7 | -52/+61 |
| | |||||
* | swr: [rasterizer common] add _simd_s[rl]lv_epi32 | Tim Rowley | 2016-03-25 | 1 | -0/+115 |
| | |||||
* | swr: [rasterizer core] Alleviate potential stack overflow for 32bit builds | Tim Rowley | 2016-03-25 | 3 | -14/+20 |
| | | | | Move large stack allocations in the GS and clipper into thread local storage. | ||||
* | swr: [rasterizer] remove use of UCHAR and UINT64 types | Tim Rowley | 2016-03-25 | 5 | -8/+6 |
| | |||||
* | swr: [rasterizer] remove use of FLOAT type | Tim Rowley | 2016-03-25 | 3 | -5/+4 |
| | |||||
* | swr: [rasterizer] Fix Coverity issues reported by Mesa developers. | Tim Rowley | 2016-03-25 | 10 | -199/+205 |
| | |||||
* | swr: [rasterizer] add debug/perf category to knobs | Tim Rowley | 2016-03-25 | 1 | -12/+37 |
| | |||||
* | swr: [rasterizer core] don't assume linux is 64-bit | Tim Rowley | 2016-03-25 | 1 | -2/+1 |
| | |||||
* | swr: [rasterizer common] remove old unused win32 types | Tim Rowley | 2016-03-25 | 1 | -6/+0 |
| | |||||
* | swr: [rasterizer jitter] vpermps support | Tim Rowley | 2016-03-25 | 4 | -1/+84 |
| | |||||
* | swr: [rasterizer] Add rdtsc buckets support for shaders | Tim Rowley | 2016-03-25 | 6 | -3/+75 |
| | | | | | | | | | | | Pass pointer to core buckets mgr back to sim layer. Add support for RDTSC_START/RDTSC_STOP macros in the builder. Each unique shader now has a unique bucket associated with it, enabling more detailed reporting at the shader level. Currently due to some llvm issue with thread local storage, 64bit runs require single threaded mode. | ||||
* | swr: [rasterizer core] backend reorganization | Tim Rowley | 2016-03-25 | 8 | -256/+276 |
| | |||||
* | swr: [rasterizer core] store blend output in temporary instead of PS output. | Tim Rowley | 2016-03-25 | 1 | -5/+10 |
| | | | | Fixes additive blend problem with MSAA | ||||
* | swr: [rasterizer core] Move InitializeHotTiles and corresponding clear code ↵ | Tim Rowley | 2016-03-25 | 3 | -254/+258 |
| | | | | out of threads.cpp. | ||||
* | swr: [rasterizer jitter] Cleanup use of types inside of Builder. | Tim Rowley | 2016-03-25 | 4 | -63/+75 |
| | | | | | Also, cached the simd width since we don't have to keep querying the JitManager for it. | ||||
* | swr: [rasterizer jitter] Fix type mismatch on select args for SCATTERPS | Tim Rowley | 2016-03-25 | 1 | -2/+4 |
| | |||||
* | swr: [rasterizer core] fix rasterizing multisampling with scissor enabled | Tim Rowley | 2016-03-25 | 1 | -42/+28 |
| | | | | We were not evaluating the scissor edge equations at sample positions. | ||||
* | swr: [rasterizer core] RingBuffer class for DC/DS | Tim Rowley | 2016-03-25 | 6 | -136/+180 |
| | | | | | | | | | | | | | Use head/tail ring buffer indices for thread synchronization. 1. SwrWaitForIdle loops until ring is empty. (head == tail) 2. GetDrawContext waits until ring is not full. (head - tail) == Ring Size 3. Draw enqueues by incrementing head. 4. Last worker thread to move past a DC dequeues by incrementing tail. Todo: To reduce contention we can cache the tail in the API thread. For example, if you know you have 64 free entries in the ring then you don't need to keep checking the tail until you used those 64 entries. | ||||
* | swr: [rasterizer] switch assert uses to SWR_ASSERT | Tim Rowley | 2016-03-25 | 1 | -5/+5 |
| | |||||
* | swr: [rasterizer core] Split all RECT_LIST draws into 1 RECT per draw | Tim Rowley | 2016-03-25 | 1 | -0/+5 |
| | | | | Needed until proper RECT_LIST PrimAssembly code is written. | ||||
* | swr: [rasterizer] Add string knob type | Tim Rowley | 2016-03-25 | 2 | -1/+10 |
| | |||||
* | gallium/swr: Cleaned up some context-resource management | George Kyriazis | 2016-03-17 | 5 | -26/+27 |
| | | | | | | | | | | Removed bound_to_context. We now pick up the context from the screen instead of the resource itself. The resource could be out-of-date and point to a pipe that is already freed. Fixes manywin mesa xdemo. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | gallium/swr: Resource management | Bruce Cherniak | 2016-03-14 | 10 | -143/+265 |
| | | | | | | | | Better tracking of resource state and synchronization. A follow on commit will clean up resource functions into a new swr_resource.cpp file. Reviewed-By: George Kyriazis <[email protected]> |