Commit Graph

74545 Commits

Author SHA1 Message Date
Brian 7faa3542f0 setup frag shader state: color pass-through program 2007-08-08 16:10:40 -06:00
Brian ed227b7b8d added assertion 2007-08-08 16:10:40 -06:00
Brian 6dc212ce49 print_vertex func for debugging 2007-08-08 16:10:40 -06:00
Brian 3113254689 new assertions 2007-08-08 16:10:40 -06:00
michal 960bf97c9f Add D3D9 opcodes up to ps_2_x and vs_2_x. 2007-08-08 13:56:29 +01:00
Carlos Martín Nieto 6a78221a10 nouveau: Missing notifier -> notifierobj migration
I missed this in the original migration.
2007-08-08 14:49:37 +02:00
Keith Whitwell 65f7b3834b Don't use hardware driver by default, until its working a bit better. 2007-08-08 12:32:06 +01:00
Keith Whitwell 715acc7622 The i915simple driver now runs well enough to lock up hardware. 2007-08-08 12:30:27 +01:00
Keith Whitwell cf3fb4e3ef Call init_state_funcs 2007-08-08 12:30:27 +01:00
Keith Whitwell 7bf2e9e383 Fix typo so that i915simple actually gets used. 2007-08-08 12:30:27 +01:00
keithw c28d2e6702 remove unused file 2007-08-08 12:30:26 +01:00
keithw db068269fc remove unused file 2007-08-08 12:30:26 +01:00
Keith Whitwell 7f74538173 Remove unused code, definitions. 2007-08-08 12:30:26 +01:00
Brian 267cf16e06 very simple texture cache implementation 2007-08-08 12:04:08 -06:00
Brian c8cc1e86f6 fix qs->next tests 2007-08-08 12:04:08 -06:00
Brian e4eb97318c add quad_stage::begin() funcs 2007-08-08 12:04:08 -06:00
Brian f00179f9b4 Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers). 2007-08-08 12:04:08 -06:00
Keith Whitwell 8daa738cf9 Remove more dead files. 2007-08-08 11:19:17 +01:00
Keith Whitwell 173e2c6a67 Remove dead files. 2007-08-08 11:17:48 +01:00
Keith Whitwell ef8b68a8a8 Pull in i915simple.a 2007-08-08 11:14:08 +01:00
Keith Whitwell dbb297fac6 Hook up i915simple. Doesn't compile. 2007-08-08 11:14:08 +01:00
Brian 7e78b9e4d0 rewrite texture sampling code (smaller, simpler) 2007-08-08 11:09:53 -06:00
Brian e12810d92f add lambda param to get_sample() 2007-08-08 11:09:02 -06:00
Brian 34a48abd5f sketch out 1D/3D/cube texture sampling 2007-08-08 10:26:51 -06:00
Brian eb147ed775 added PIPE_TEX_FACE_* 2007-08-08 10:26:16 -06:00
Brian 40bc47f578 replace draw_offset w/ 0 for now 2007-08-08 09:52:35 -06:00
Brian 7523f490b0 define i915_surface struct 2007-08-08 09:52:08 -06:00
Keith Whitwell 8a475cb791 Rename drivers/dri/i915pipe --> drivers/dri/intel_winsys.
This is appropriate as this is not a "pipe driver for the i915" as the
old name would suggest, but rather a dri driver that can provide "winsys"
backends to softpipe/i915/i965/etc pipe drivers, running under the
intel DDX, drm, etc.

It also frees up the i915pipe name for something more appropriate, ie
mesa/pipe/i915pipe.
2007-08-08 09:42:19 +01:00
Brian f62b573922 more get_tile() work 2007-08-08 09:36:53 +01:00
Brian 08f33a0251 fully support all texcoord wrap modes 2007-08-08 09:36:53 +01:00
Keith Whitwell 01c35b52a1 Checkpoint of a super-simplified i915 driver in the pipe model.
Doesn't yet compile, but when it does, it will only draw gouraud tris
and even those will be as simple as possible.  Needs some 'winsys' support
also before that can happen.
2007-08-08 09:30:45 +01:00
Brian ddd30d8160 clean up tgsi_sampler-related bits 2007-08-07 18:24:30 -06:00
Brian e4b5265487 use new tex filtering code 2007-08-07 18:24:30 -06:00
Brian 0dc4eea64f initial texture filtering code 2007-08-07 18:24:30 -06:00
Brian 283ed438b6 include p_state.h 2007-08-07 18:24:30 -06:00
Brian 85675db0fc added a get_tile() func 2007-08-07 18:24:29 -06:00
Brian 11c557d3ca map/unmap textures 2007-08-07 18:24:29 -06:00
Brian 204d35c0ef remove dst!=src assertion 2007-08-07 18:24:29 -06:00
Brian b4784862b4 debug info 2007-08-07 18:24:29 -06:00
Brian b245840b86 set mt->format 2007-08-07 18:24:29 -06:00
Brian 6cdff693a7 added pipe_mipmap_tree::format 2007-08-07 18:24:29 -06:00
Brian 14b9834330 s/intel/st/ 2007-08-07 18:24:29 -06:00
Brian 3973d1ad33 move free() after dereference (bug 11878) 2007-08-07 22:06:08 +01:00
Brian 90cc31f31b fix potential NULL dereference (bug 11879) 2007-08-07 21:57:29 +01:00
Brian 237b985356 fix potential NULL dereference (bug 11880) 2007-08-07 21:48:31 +01:00
Brian 872d179141 fix swizzle error test (bug 11881) 2007-08-07 21:42:34 +01:00
michal 4a470f63c9 Naive implementation of IF/ELSE/ENDIF.
Handle TGSI labels correctly.
Enhance MESA opcode info queries.
2007-08-07 15:34:46 +01:00
Brian adf5560ea5 checkpoint new tgsi_sampler_state struct 2007-08-07 15:28:12 -06:00
Brian ab80be0df1 remove pipe_surface_sampler 2007-08-07 15:27:03 -06:00
Brian d805d46a5f added st_atom_texture.c 2007-08-07 15:12:40 -06:00