mesa.git
16 years agocheckpoint: intel_renderbuffer removal
Brian [Thu, 9 Aug 2007 16:33:18 +0000 (10:33 -0600)]
checkpoint: intel_renderbuffer removal

16 years agoUpdate opcode list.
michal [Thu, 9 Aug 2007 11:55:50 +0000 (12:55 +0100)]
Update opcode list.

16 years agoFurther opcode list reorg.
michal [Thu, 9 Aug 2007 11:49:46 +0000 (12:49 +0100)]
Further opcode list reorg.

Add TXP opcode.
Alias SGN to SSG.
Alias EXPP to EXP.

16 years agoQuieten TGSI
Keith Whitwell [Thu, 9 Aug 2007 10:22:45 +0000 (11:22 +0100)]
Quieten TGSI

16 years agoQuieten TGSI
Keith Whitwell [Thu, 9 Aug 2007 10:22:29 +0000 (11:22 +0100)]
Quieten TGSI

16 years agoSupporting batchbuffer changes for 1st hwpipe triangles...
Keith Whitwell [Thu, 9 Aug 2007 10:21:22 +0000 (11:21 +0100)]
Supporting batchbuffer changes for 1st hwpipe triangles...

16 years agoRemove unreferenced file.
Keith Whitwell [Thu, 9 Aug 2007 10:20:38 +0000 (11:20 +0100)]
Remove unreferenced file.

16 years agoTweaks to state emit, acheives first hw triangles from a pipe driver.
Keith Whitwell [Thu, 9 Aug 2007 10:19:09 +0000 (11:19 +0100)]
Tweaks to state emit, acheives first hw triangles from a pipe driver.

16 years agoPull in debug code for human-readable batchbuffer dumps.
Keith Whitwell [Thu, 9 Aug 2007 10:18:27 +0000 (11:18 +0100)]
Pull in debug code for human-readable batchbuffer dumps.

16 years agoThe pipe version of these files. Can probably relocate to pipe/i915simple.
Keith Whitwell [Thu, 9 Aug 2007 09:35:48 +0000 (10:35 +0100)]
The pipe version of these files. Can probably relocate to pipe/i915simple.

16 years agoPut back the old versions of intel_tex_layout.* in this shared directory.
Keith Whitwell [Thu, 9 Aug 2007 09:34:35 +0000 (10:34 +0100)]
Put back the old versions of intel_tex_layout.* in this shared directory.

Unbreak the original i915, i915tex drivers.  We will have our own
version of this functionality in the pipe driver and not attempt to share
with the older code.

16 years agoHook up pipe flush functionality
Keith Whitwell [Wed, 8 Aug 2007 15:42:29 +0000 (16:42 +0100)]
Hook up pipe flush functionality

16 years agoAdd flush/finish functionality to pipe.
Keith Whitwell [Wed, 8 Aug 2007 15:42:01 +0000 (16:42 +0100)]
Add flush/finish functionality to pipe.

Not sure if finish() is the right interface yet.

16 years agoSplit swapbuffers and read/draw buffers functionality into two files.
Keith Whitwell [Wed, 8 Aug 2007 15:40:45 +0000 (16:40 +0100)]
Split swapbuffers and read/draw buffers functionality into two files.

16 years agoDeclare missing opcode aliases. Declare SGN opcode.
michal [Thu, 9 Aug 2007 09:43:56 +0000 (10:43 +0100)]
Declare missing opcode aliases. Declare SGN opcode.

16 years agoupdate lod bias, limits
Brian [Wed, 8 Aug 2007 22:47:51 +0000 (16:47 -0600)]
update lod bias, limits

16 years agoclean-up
Brian [Wed, 8 Aug 2007 22:46:59 +0000 (16:46 -0600)]
clean-up

16 years agouse surface offset value in get_tile()
Brian [Wed, 8 Aug 2007 22:46:32 +0000 (16:46 -0600)]
use surface offset value in get_tile()

16 years agoinitial lod/mipmap texture supported
Brian [Wed, 8 Aug 2007 22:09:13 +0000 (16:09 -0600)]
initial lod/mipmap texture supported

16 years agosetup frag shader state: color pass-through program
Brian [Wed, 8 Aug 2007 22:08:45 +0000 (16:08 -0600)]
setup frag shader state: color pass-through program

16 years agoadded assertion
Brian [Wed, 8 Aug 2007 22:07:28 +0000 (16:07 -0600)]
added assertion

16 years agoprint_vertex func for debugging
Brian [Wed, 8 Aug 2007 22:07:07 +0000 (16:07 -0600)]
print_vertex func for debugging

16 years agonew assertions
Brian [Wed, 8 Aug 2007 22:06:48 +0000 (16:06 -0600)]
new assertions

16 years agoAdd D3D9 opcodes up to ps_2_x and vs_2_x.
michal [Wed, 8 Aug 2007 12:55:56 +0000 (13:55 +0100)]
Add D3D9 opcodes up to ps_2_x and vs_2_x.

16 years agoDon't use hardware driver by default, until its working a bit better.
Keith Whitwell [Wed, 8 Aug 2007 11:32:06 +0000 (12:32 +0100)]
Don't use hardware driver by default, until its working a bit better.

16 years agoThe i915simple driver now runs well enough to lock up hardware.
Keith Whitwell [Wed, 8 Aug 2007 11:28:21 +0000 (12:28 +0100)]
The i915simple driver now runs well enough to lock up hardware.

16 years agoCall init_state_funcs
Keith Whitwell [Wed, 8 Aug 2007 10:35:47 +0000 (11:35 +0100)]
Call init_state_funcs

16 years agoFix typo so that i915simple actually gets used.
Keith Whitwell [Wed, 8 Aug 2007 10:35:14 +0000 (11:35 +0100)]
Fix typo so that i915simple actually gets used.

16 years agoremove unused file
keithw [Wed, 8 Aug 2007 10:32:56 +0000 (11:32 +0100)]
remove unused file

16 years agoremove unused file
keithw [Wed, 8 Aug 2007 10:32:24 +0000 (11:32 +0100)]
remove unused file

16 years agoRemove unused code, definitions.
Keith Whitwell [Wed, 8 Aug 2007 10:25:28 +0000 (11:25 +0100)]
Remove unused code, definitions.

16 years agoincrease texture size to 32x32
root [Wed, 8 Aug 2007 18:03:18 +0000 (12:03 -0600)]
increase texture size to 32x32

16 years agovery simple texture cache implementation
Brian [Wed, 8 Aug 2007 18:02:52 +0000 (12:02 -0600)]
very simple texture cache implementation

16 years agofix qs->next tests
Brian [Wed, 8 Aug 2007 18:02:18 +0000 (12:02 -0600)]
fix qs->next tests

16 years agoadd quad_stage::begin() funcs
Brian [Wed, 8 Aug 2007 17:44:06 +0000 (11:44 -0600)]
add quad_stage::begin() funcs

16 years agoAdd a quad_stage::begin() method to do per-primitive preparations (like setting up...
Brian [Wed, 8 Aug 2007 17:37:00 +0000 (11:37 -0600)]
Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers).

16 years agoRemove more dead files.
Keith Whitwell [Wed, 8 Aug 2007 10:19:17 +0000 (11:19 +0100)]
Remove more dead files.

16 years agoRemove dead files.
Keith Whitwell [Wed, 8 Aug 2007 10:17:48 +0000 (11:17 +0100)]
Remove dead files.

16 years agoPull in i915simple.a
Keith Whitwell [Wed, 8 Aug 2007 10:13:36 +0000 (11:13 +0100)]
Pull in i915simple.a

16 years agoHook up i915simple. Doesn't compile.
Keith Whitwell [Wed, 8 Aug 2007 10:10:37 +0000 (11:10 +0100)]
Hook up i915simple. Doesn't compile.

16 years agorewrite texture sampling code (smaller, simpler)
Brian [Wed, 8 Aug 2007 17:09:53 +0000 (11:09 -0600)]
rewrite texture sampling code (smaller, simpler)

16 years agoadd lambda param to get_sample()
Brian [Wed, 8 Aug 2007 17:09:02 +0000 (11:09 -0600)]
add lambda param to get_sample()

16 years agosketch out 1D/3D/cube texture sampling
Brian [Wed, 8 Aug 2007 16:26:51 +0000 (10:26 -0600)]
sketch out 1D/3D/cube texture sampling

16 years agoadded PIPE_TEX_FACE_*
Brian [Wed, 8 Aug 2007 16:26:16 +0000 (10:26 -0600)]
added PIPE_TEX_FACE_*

16 years agoreplace draw_offset w/ 0 for now
Brian [Wed, 8 Aug 2007 15:52:35 +0000 (09:52 -0600)]
replace draw_offset w/ 0 for now

16 years agodefine i915_surface struct
Brian [Wed, 8 Aug 2007 15:50:49 +0000 (09:50 -0600)]
define i915_surface struct

16 years agoRename drivers/dri/i915pipe --> drivers/dri/intel_winsys.
Keith Whitwell [Wed, 8 Aug 2007 08:41:52 +0000 (09:41 +0100)]
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.

16 years agomore get_tile() work
Brian [Wed, 8 Aug 2007 08:35:16 +0000 (09:35 +0100)]
more get_tile() work

16 years agofully support all texcoord wrap modes
Brian [Wed, 8 Aug 2007 08:35:03 +0000 (09:35 +0100)]
fully support all texcoord wrap modes

16 years agoCheckpoint of a super-simplified i915 driver in the pipe model.
Keith Whitwell [Wed, 8 Aug 2007 08:28:57 +0000 (09:28 +0100)]
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.

16 years agoclean up tgsi_sampler-related bits
Brian [Wed, 8 Aug 2007 00:22:40 +0000 (18:22 -0600)]
clean up tgsi_sampler-related bits

16 years agouse new tex filtering code
Brian [Wed, 8 Aug 2007 00:22:16 +0000 (18:22 -0600)]
use new tex filtering code

16 years agoinitial texture filtering code
Brian [Wed, 8 Aug 2007 00:22:03 +0000 (18:22 -0600)]
initial texture filtering code

16 years agoinclude p_state.h
Brian [Wed, 8 Aug 2007 00:20:55 +0000 (18:20 -0600)]
include p_state.h

16 years agoadded a get_tile() func
Brian [Wed, 8 Aug 2007 00:20:30 +0000 (18:20 -0600)]
added a get_tile() func

16 years agomap/unmap textures
Brian [Wed, 8 Aug 2007 00:19:49 +0000 (18:19 -0600)]
map/unmap textures

16 years agoremove dst!=src assertion
Brian [Wed, 8 Aug 2007 00:19:34 +0000 (18:19 -0600)]
remove dst!=src assertion

16 years agodebug info
Brian [Wed, 8 Aug 2007 00:19:06 +0000 (18:19 -0600)]
debug info

16 years agoset mt->format
Brian [Wed, 8 Aug 2007 00:18:54 +0000 (18:18 -0600)]
set mt->format

16 years agoadded pipe_mipmap_tree::format
Brian [Wed, 8 Aug 2007 00:18:08 +0000 (18:18 -0600)]
added pipe_mipmap_tree::format

16 years agos/intel/st/
Brian [Tue, 7 Aug 2007 22:42:08 +0000 (16:42 -0600)]
s/intel/st/

16 years agoNaive implementation of IF/ELSE/ENDIF.
michal [Tue, 7 Aug 2007 14:34:11 +0000 (15:34 +0100)]
Naive implementation of IF/ELSE/ENDIF.

Handle TGSI labels correctly.
Enhance MESA opcode info queries.

16 years agocheckpoint new tgsi_sampler_state struct
Brian [Tue, 7 Aug 2007 21:28:12 +0000 (15:28 -0600)]
checkpoint new tgsi_sampler_state struct

16 years agoremove pipe_surface_sampler
Brian [Tue, 7 Aug 2007 21:27:03 +0000 (15:27 -0600)]
remove pipe_surface_sampler

16 years agoadded st_atom_texture.c
Brian [Tue, 7 Aug 2007 21:12:40 +0000 (15:12 -0600)]
added st_atom_texture.c

16 years agoplug in texture/sampler state update
Brian [Tue, 7 Aug 2007 21:12:22 +0000 (15:12 -0600)]
plug in texture/sampler state update

16 years agotexture image state handling
Brian [Tue, 7 Aug 2007 21:11:20 +0000 (15:11 -0600)]
texture image state handling

16 years agosketch out new pipe surface/sampler types
Brian [Tue, 7 Aug 2007 19:13:41 +0000 (13:13 -0600)]
sketch out new pipe surface/sampler types

16 years agoHandle labels for IF/ELSE correctly
michal [Tue, 7 Aug 2007 11:50:12 +0000 (12:50 +0100)]
Handle labels for IF/ELSE correctly

16 years agoEnable compact TGSI dump.
michal [Tue, 7 Aug 2007 10:49:33 +0000 (11:49 +0100)]
Enable compact TGSI dump.

16 years agoDump tokens in more compact form.
michal [Tue, 7 Aug 2007 09:24:27 +0000 (10:24 +0100)]
Dump tokens in more compact form.

16 years agos/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c
Brian [Tue, 7 Aug 2007 16:56:41 +0000 (10:56 -0600)]
s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c

16 years agodon't include non-existant intel_buffer_objects.h
Brian [Tue, 7 Aug 2007 16:56:01 +0000 (10:56 -0600)]
don't include non-existant intel_buffer_objects.h

16 years agoGutsy oopses on touch of existing file. Workaround.
Keith Whitwell [Tue, 7 Aug 2007 09:18:04 +0000 (10:18 +0100)]
Gutsy oopses on touch of existing file. Workaround.

16 years agoRemove old intel_buffer_objects code - there is a state_tracker version now.
Keith Whitwell [Tue, 7 Aug 2007 09:17:22 +0000 (10:17 +0100)]
Remove old intel_buffer_objects code - there is a state_tracker version now.

16 years agoLabels are always label targets.
michal [Tue, 7 Aug 2007 09:14:50 +0000 (10:14 +0100)]
Labels are always label targets.

Translate label for GLSL IF, ELSE.

16 years agoprototypes
Brian [Tue, 7 Aug 2007 16:07:23 +0000 (10:07 -0600)]
prototypes

16 years agoget rid of temp write_mono_row_ub() function
Brian [Tue, 7 Aug 2007 15:55:13 +0000 (09:55 -0600)]
get rid of temp write_mono_row_ub() function

16 years agocall st_init_driver_functions(), make intelInitDriverFunctions() static
Brian [Mon, 6 Aug 2007 19:56:29 +0000 (20:56 +0100)]
call st_init_driver_functions(), make intelInitDriverFunctions() static

16 years agocall st_init_driver_functions()
Brian [Mon, 6 Aug 2007 19:54:41 +0000 (20:54 +0100)]
call st_init_driver_functions()

16 years agoadded softpipe_mipmap_tree_layout
Brian [Mon, 6 Aug 2007 19:54:18 +0000 (20:54 +0100)]
added softpipe_mipmap_tree_layout

16 years agoneed a softpipe func for texture layout
Brian [Mon, 6 Aug 2007 19:54:03 +0000 (20:54 +0100)]
need a softpipe func for texture layout

16 years agoNew st_init_*_functions() to initialize the driver functions table.
Brian [Mon, 6 Aug 2007 19:53:28 +0000 (20:53 +0100)]
New st_init_*_functions() to initialize the driver functions table.

We need to do these initializations before initializing the Mesa context
because context init involves creating texture/program/etc objects.

16 years agonew header
Brian [Mon, 6 Aug 2007 19:52:04 +0000 (20:52 +0100)]
new header

16 years agofix asst. warnings
Brian [Mon, 6 Aug 2007 19:49:44 +0000 (20:49 +0100)]
fix asst. warnings

16 years agoAdd GLSL opcodes.
michal [Mon, 6 Aug 2007 16:20:31 +0000 (17:20 +0100)]
Add GLSL opcodes.

16 years agoAdd GLSL ops.
michal [Mon, 6 Aug 2007 16:18:25 +0000 (17:18 +0100)]
Add GLSL ops.

16 years agoMake SGE, SGT, SLE working.
michal [Mon, 6 Aug 2007 16:15:37 +0000 (17:15 +0100)]
Make SGE, SGT, SLE working.

16 years agoRemove garbage text.
michal [Mon, 6 Aug 2007 16:06:03 +0000 (17:06 +0100)]
Remove garbage text.

16 years agoUse fp_attr_to_slot[].
michal [Mon, 6 Aug 2007 16:04:34 +0000 (17:04 +0100)]
Use fp_attr_to_slot[].

16 years agoReorder opcodes.
michal [Mon, 6 Aug 2007 16:03:51 +0000 (17:03 +0100)]
Reorder opcodes.

16 years agoTranslate the remaining ops.
michal [Mon, 6 Aug 2007 16:00:55 +0000 (17:00 +0100)]
Translate the remaining ops.

16 years agoMerge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa...
Brian [Mon, 6 Aug 2007 22:18:25 +0000 (16:18 -0600)]
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch

16 years agoadded xm_softpipe.c
Brian [Mon, 6 Aug 2007 22:17:41 +0000 (16:17 -0600)]
added xm_softpipe.c

16 years agouse new xmesa_create_softpipe()
Brian [Mon, 6 Aug 2007 22:17:26 +0000 (16:17 -0600)]
use new xmesa_create_softpipe()

16 years agosoftpipe/winsys interface
Brian [Mon, 6 Aug 2007 22:17:16 +0000 (16:17 -0600)]
softpipe/winsys interface

16 years agoTranslate MESA GLSL opcodes to TGSI opcodes.
michal [Mon, 6 Aug 2007 15:18:37 +0000 (16:18 +0100)]
Translate MESA GLSL opcodes to TGSI opcodes.

16 years agoAdd path for GL includes in mesa tree.
michal [Mon, 6 Aug 2007 15:00:54 +0000 (16:00 +0100)]
Add path for GL includes in mesa tree.

16 years agoadded st_cb_texture.c
Brian [Mon, 6 Aug 2007 21:50:16 +0000 (15:50 -0600)]
added st_cb_texture.c

16 years agoclean-ups
Brian [Mon, 6 Aug 2007 21:50:03 +0000 (15:50 -0600)]
clean-ups