Zack Rusin
a94251d081
Cleanup constant vector handling a bit.
18 anni fa
Zack Rusin
75a9018fb9
Dump only relevant functions when in the debugging output.
18 anni fa
Zack Rusin
fd908ce234
Change the way we handle temporaries in LLVM translation.
TGSI uses TEMP, among others, as a way of passing arguments
from one function to another. Instead of trying to figure out
which temp's a function needs and trying to dynamically adjust its
signature just pass the whole array of temporaries to them.
18 anni fa
Zack Rusin
b0f3b5910e
Enable immediates in TGSI and work with them in LLVM code.
Enables immediates by default in the TGSI translation code
and adds code handling it in llvm tgsi translation.
18 anni fa
Brian
8b2f997af5
minor code simplification
18 anni fa
Brian
64ffc9540b
fix memcpy bugs
18 anni fa
Brian
1553eba50c
Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().
18 anni fa
Brian
f18d4e058e
Remove ctx field from texenvprog_cache
18 anni fa
Brian
9946012949
refactoring to begin removing dependency on tnl context
18 anni fa
Brian
783cedcdc1
simplify getting of current frag prog
18 anni fa
Brian
27153bf02d
Refactor _tnl_UpdateFixedFunctionProgram().
New _mesa_get_fixed_func_vertex_program() function...
18 anni fa
Brian
83ce6c51d7
Refactor _mesa_UpdateTexEnvProgram()
Will be replaced by _mesa_get_fixed_func_fragment_program().
18 anni fa
Michal Krol
918ea5168b
Rename 'mms-config.' to 'mms.config'.
It looks like Windows does not like filenames ending with a dot,
in effect renaming it to 'mms-config'.
18 anni fa
José Fonseca
f33ced441c
Update intel_is_format_supported.
18 anni fa
Michal Krol
da9815e17f
Add detailed comments.
18 anni fa
Michal Krol
7de874ec2c
Make it compile under linux.
Move pipe_region/surface_reference functions to pipe/p_inlines.h.
Remove #include "p_util.h" from pipe/p_context.h.
18 anni fa
Michal Krol
ee295fccdd
Make gallium compile in win32.
Use FREE, MALLOC, CALLOC, GETENV wrappers.
Silence compiler warnings.
Add proper copyrights.
18 anni fa
Brian
d37eb130c0
remove dead code
18 anni fa
Brian
ebe1642d7a
check for signed vs. unsigned in st_get_format_info() - fixes accum buffer failure
18 anni fa
Brian
b58b64f361
fix bad fragment shader pointer assignment
18 anni fa
Brian
cc0b55c242
simplify code which access the current vertex/fragment shaders
18 anni fa
Brian
2a3f3679eb
Disable the else clause which assigns the default fragment program to ctx->FragmentProgram._Current
The _Current field should either point to the fragment program which is to be
run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional
fixed-function code is to be used. Matches TNL program code.
18 anni fa
Zack Rusin
a6a3d8cb75
Remove conditionals from the makefiles.
18 anni fa
Zack Rusin
a70c5e37f1
Remove typedefs from enums.
typedefs are rather evil, remove them and use the enum
keyword explicitely.
18 anni fa
Zack Rusin
25b17b213b
Refactor the LLVM code a bit.
Move the CPU vertex shader execution code to the draw
module, remove traces of LLVM from the state tracker,
abstract execution engine for the purposes of the draw module.
18 anni fa
Zack Rusin
abe8cd1917
Make sure the swizzling vector is being recreated for each function. This makes
GLSL bricks work.
18 anni fa
Michal Krol
3b25ce9eca
Add SSE dump facilities.
Wrap x86_, sse_ and sse2 rtasm calls in emit_ calls.
Those emit_ calls, if required, dump instructions to stdout.
SSE dumping disabled by default.
18 anni fa
Michal Krol
1eabc29ed1
Code re-org. Add comments.
18 anni fa
Michal Krol
bd922c6437
Implement RET opcode.
18 anni fa
Michal Krol
e15ca7963e
Remove TGSI_INTERPOLATE_ATTRIB.
18 anni fa
José Fonseca
242b8659e4
Fix i915simple build.
18 anni fa
José Fonseca
1039a75514
Reuse hardware vertice representation.
18 anni fa
José Fonseca
a9e1fcf98a
Enable the vertex buffer stage according to the I915_VBUF environment var.
18 anni fa
José Fonseca
46aeff5814
Get vertex buffer stage in a minimally working state.
18 anni fa
José Fonseca
02091e0f9c
Reserve the accurate number of dwords in the batch buffer.
18 anni fa
José Fonseca
dbb33a9710
Start a vertex buffer constuction stage for i915 based on Keith's draft done on softpipe.
18 anni fa
Michal Krol
af5061cf5a
Fix newlines.
18 anni fa
Michal Krol
c1b9f0eb7a
Remove unused static functions.
18 anni fa
Michal Krol
2bbd714fda
Update comments.
18 anni fa
Michal Krol
3c81219672
Replace supported_formats with is_format_supported interface.
The old supported_formats interface returned a list of formats
supported by a pipe/winsys implementation. This was reasonable
when gallium had a fixed list of predefined format.
Now things has changed and the definition of PIPE_FORMAT is
more flexible.
The new shiny is_format_supported interface gets PIPE_FORMAT
as an argument and returns a boolean whether this particular
format is supported.
18 anni fa
Michal Krol
b85cd7b700
Use FREE and MALLOC instead of free and malloc.
18 anni fa
Michal Krol
2953415223
Rework sse-utility function calls.
18 anni fa
michal
c5ad88e9f1
Declare temporaries in a more compact fashion.
The following declarations:
DCL TEMP[0]
DCL TEMP[1]
DCL TEMP[2]
DCL TEMP[4]
become:
DCL TEMP[0..2]
DCL TEMP[4]
18 anni fa
michal
e420e9d485
Declare temporaries in a more compact fashion.
The following declarations:
DCL TEMP[0]
DCL TEMP[1]
DCL TEMP[2]
DCL TEMP[4]
become:
DCL TEMP[0..2]
DCL TEMP[4]
18 anni fa
michal
80ab2ab335
Control FS TGSI dumping with GALLIUM_DUMP_FS env variable.
18 anni fa
michal
90e47c8c7b
Fix newlines.
18 anni fa
michal
f93b9dc09a
Use FREE instead of free. Fix newlines.
18 anni fa
michal
a846d7d027
Enable SSE path.
18 anni fa
michal
a1b4285c5c
Fix fragment shader.
18 anni fa
michal
9c22f91030
Optimize fragment program.
18 anni fa