Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-19 | [i965] fix broken glsl texdemo1 | Zou Nan hai | |
2008-02-15 | i965: don't swizzle fogcoord if FogOption is FOG_NONE. | Xiang, Haihao | |
fix #10788 issue on 965. | |||
2008-02-14 | i965: use setup attributes as inputs when allocating registers | Xiang, Haihao | |
for WM payload. fix #10767 | |||
2008-02-14 | [i965] flip point sprite | Zou Nan hai | |
2008-02-14 | [i965] gl_FrontFacing support | Zou Nan hai | |
2008-02-14 | i965: remove unused hal hooks | Dave Airlie | |
These don't appear to have ever been used. | |||
2008-02-13 | [965] Fix ARB_occlusion_query from intel_screen.c merge. | Eric Anholt | |
It wasn't being initialized at screen setup, so we were getting stub entrypoints even though it was exposed as enabled. Fixes arbocclude mesa demo. | |||
2008-02-13 | [intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965. | Eric Anholt | |
The 965 path wasn't setting pClipRects for batch submission since it didn't want kernel cliprect handling before. The 915 path also grew the INTEL_NO_HW=1 option for testing just driver overhead. | |||
2008-02-12 | [965] Remove stale brw_state_cache.c comment and function export. | Eric Anholt | |
2008-02-07 | [965] Flush icache on new batch, not just new context. | Eric Anholt | |
This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit. | |||
2008-02-05 | i965: adjust the byte order of clear color. fix #14165 | Xiang, Haihao | |
2008-02-04 | [965] Convert brw_draw_upload to managing dri_bos, not gl_buffer_objects. | Eric Anholt | |
This helps us avoid a bunch of mess with gl_client_arrays that we filled with unused data and confused readers. | |||
2008-02-04 | [965] Remove dead structure in brw_draw_upload.c. | Eric Anholt | |
2008-02-04 | [965] Move temporary vbo array storage into the function using it. | Eric Anholt | |
2008-02-04 | [965] Remove dead brw_vertex_element members. | Eric Anholt | |
2008-02-04 | [965] Add a wrapper around interleaved copy_array_to_vbo_array for profiling. | Eric Anholt | |
If compiled with optimization, it shouldn't appear at all, and helps me for now. | |||
2008-02-04 | [965] Avoid overloaded use of the term 'input' for clarity. | Eric Anholt | |
2008-02-04 | [965] Replace VEP/VBP state structures with inline batch emits. | Eric Anholt | |
2008-02-03 | i965: fix potential NULL pointer dereference. The third region | Xiang, Haihao | |
isn't created at all for 965 | |||
2008-02-01 | [965] Fix indentation. | Eric Anholt | |
2008-02-01 | [965] Replace XXX comment about constant swizzle with an assert. | Eric Anholt | |
2008-02-01 | [965] Fix some indentation in brw_vs_tnl.c. | Eric Anholt | |
2008-02-01 | i965: Don't emit state if fall back to software rendering. fix #14116 | Xiang, Haihao | |
2008-01-31 | [i965] renable regative rhw test | Zou Nan hai | |
2008-01-29 | i965: new integrated graphics chipset support | Xiang, Haihao | |
2008-01-25 | i965: valid message length includes message header. | Xiang, Haihao | |
2008-01-25 | i965: re-define the type of reg.loopcount. | Xiang, Haihao | |
avoid some issues such that 1 + (-2) gets a big positive value. | |||
2008-01-19 | [965] Fix WM unit cache keying that broke line stipple and polygon offset. | Eric Anholt | |
2008-01-18 | [965] Do a little bit rotation in state hash to reduce collisions. | Eric Anholt | |
This was around 3% improvement in OA. | |||
2008-01-17 | [intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST. | Eric Anholt | |
2008-01-17 | [965] Fix whitespace in c9b1fef0c9c5018efd825c42782f19ad0618696a | Eric Anholt | |
2008-01-17 | [965] Fix potential segfaults from bad realloc. | Eric Anholt | |
C has no order of evaluation restrictions on function arguments, so we attempted to realloc from new-size to new-size. | |||
2008-01-17 | i965: always call dri_emit_reloc when creating clip unit state | Xiang, Haihao | |
This fix ensures it gets the starting location of the clip program if a clip unit state is same as a unit which is created when metaops is actived and it doesn't impact metaops because the clip state offset isn't emitted when metaops is actived. | |||
2008-01-16 | [965] Fix inversion of SLT/SGE results in vertex programs. | Eric Anholt | |
The WM code had this right, so copy its behavior. This reverts a flipping of the arguments to SLT in brw_vs_tnl which came in with the GLSL code that probably occurred to work around the flipped results, and brings the code back in line with t_vp_build.c. | |||
2008-01-16 | [965] Rename depth_mask in CC key to depth_write, since it's a boolean enable. | Eric Anholt | |
2008-01-16 | [965] Fix the type of alpha_ref in CC key, fixing ppracer rendering. | Eric Anholt | |
2008-01-15 | i965: fix an assert fail in brw_new_batch | Zou Nan hai | |
2008-01-14 | [965] Force a new vertex upload buffer at new batch time. | Eric Anholt | |
Otherwise, we could choose to upload into the temporary VBO that we just fired off to the hardware. Good for a 60% OA performance improvement. | |||
2008-01-10 | [965] Remove an open-coded memcpy. | Eric Anholt | |
2008-01-10 | [965] Improve performance by allocating CURBE buffers a page at a time. | Eric Anholt | |
Since each one is only 64b, and kernel allocations are a page anyway, this lets us reduce buffer allocation by packing many CURBEs into one buffer, for each batchbuffer submitted. Improves openarena performance by around 10%. | |||
2008-01-10 | [intel] Only flush batch when changing draw buffers, not every cliprect update. | Eric Anholt | |
The previous code would reference freed memory on window moves. | |||
2008-01-10 | [intel] Add more cliprect modes to cover other meanings for batch emits. | Eric Anholt | |
The previous change gave us only two modes, one which looped over the batch per cliprect (3d drawing) and one that didn't (state updeast). However, we really want 4: - Batch doesn't care about cliprects (state updates) - Batch needs DRAWING_RECTANGLE looping per cliprect (3d drawing) - Batch needs to be executed just once (region fills, copies, etc.) - Batch already includes cliprect handling, and must be flushed by unlock time (copybuffers, clears). All callers should now be fixed to use one of these states for any batchbuffer emits. Thanks to Keith Whitwell for pointing out the failure. | |||
2008-01-10 | i965: fix bug #14002 | Xiang, Haihao | |
2008-01-10 | i965: fix segfault caused by commit e131c46b20241737ceba4856dbe01dcca6dd2c03. | Xiang, Haihao | |
2008-01-09 | [965] Allow more than one draw_prims per batchbuffer. | Eric Anholt | |
The comment about (vbo)_exec_api.c appeared to be stale, as the VBO code seems to only use non-named VBOs (not actual VBOs) or freshly-allocated VBO data. This brings a 2x speedup to openarena, because we can submit nearly-full batchbuffers instead of many 450-byte ones. | |||
2008-01-09 | [965] Replace the always_update dirty flag with BRW_NEW_BATCH. | Eric Anholt | |
This allows us to avoid re-emitting some state when validate_state happens multiple times per batchbuffer. Even though we flush batch per primitive currently, that may still happen already if the primitive changed (this should probably be fixed as well). | |||
2008-01-09 | [intel] Rename lost_hardware vtbl entry to new_batch. | Eric Anholt | |
Both drivers have ended up relying on lost_hardware being called after each batch buffer, so update the name. This removes one of the calls on 965 whic h was outside of the batchbuffer handling code and just duplicating what had already happened through batchbuffer handling. | |||
2008-01-09 | [965] Remove drawing rect upload, which is handled (better) by the kernel. | Eric Anholt | |
2008-01-09 | [intel] Clean up cliprect handling in intel drivers. | Eric Anholt | |
In particular, batch buffers are no longer flushed when switching from CLIPRECTS to NO_CLIPRECTS or vice versa, and 965 just uses DRM cliprect handling for primitives instead of trying to sneak in its own to avoid the DRM stuff. The disadvantage is that we will re-execute state updates per cliprect, but the advantage is that we will be able to accumulate larger batch buffers, which were proving to be a major overhead. | |||
2008-01-09 | [intel] Remove the dead intel->need_flush member. | Eric Anholt | |