Commit graph

15445 commits

Author SHA1 Message Date
Brian
e3ca92aa28 mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c
No API-level functions now in program.c.
2008-07-21 20:33:42 -06:00
José Fonseca
883097053d win32kprof: Store the profile data as an caller->callee hash table, instead of a trace. 2008-07-22 09:45:33 +09:00
José Fonseca
4db631a399 gallium: Open a new file when existing profile memory map is exhausted. 2008-07-22 09:45:33 +09:00
José Fonseca
2fafe29793 win32kprof: Generate callgraphs.
Relies on gprof2dot.py.
2008-07-22 09:45:33 +09:00
José Fonseca
ac25408c47 win32kprof: Convert tabs to spaces. 2008-07-22 09:45:33 +09:00
José Fonseca
1662be3764 win32kprof: Consider the section alignment when estimating the image base. 2008-07-22 09:45:32 +09:00
Zack Rusin
4d38d86b2c add edge detection to that example 2008-07-21 19:19:22 -04:00
Brian Paul
ec9c79a7dd mesa: initial support for GLSL struct/array comparisons 2008-07-21 17:18:22 -06:00
Brian Paul
c9a7ee2d00 mesa: added null ptr check (error handling case) 2008-07-21 16:04:56 -06:00
Brian Paul
5ba32b79d8 mesa: fix +=, -=, etc. operators 2008-07-21 16:04:24 -06:00
Jonathan White
467e6526a8 gallium: Temporary workaround for mismatched pipe create and pipe destroy 2008-07-21 15:34:38 -06:00
Brian Paul
7e8f79e39d mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p 2008-07-21 14:23:33 -06:00
Brian Paul
70d3928f63 mesa: fix some issues in _mesa_validate_program() 2008-07-21 14:16:07 -06:00
Brian Paul
fbf26e109b mesa: assorted glsl uniform/attribute fixes
Fix incorrect uniform/attribute size query results.
Add missing error checking for glUniform, glUniformMatrix params
Fix an array size/allocation error.
2008-07-21 13:58:50 -06:00
Brian Paul
d8cbac5330 mesa: remove debug code 2008-07-21 10:25:02 -06:00
Jakob Bornecrantz
1753ff9872 tgsi: Update Makefile to include tgsi_iterate.c 2008-07-21 14:38:57 +02:00
Michal Krol
b3c8d0c348 tgsi: Parse source register extended swizzle. 2008-07-20 21:58:07 +02:00
Michal Krol
9d068d4b90 tgsi: Add support for branch instructions with target labels. 2008-07-20 21:38:20 +02:00
Michal Krol
25a7f422b4 tgsi: Warn if an indirect register not ADDR[0]. 2008-07-20 21:28:28 +02:00
Michal Krol
73e1d0be75 tgsi: Add support for indirect addressing in dump, sanity and text modules. 2008-07-20 21:23:04 +02:00
Michal Krol
613f0df64d tgsi: Remove redundant code. 2008-07-20 19:29:52 +02:00
Michal Krol
83f245bd24 tgsi: Use tgsi_iterate in tgsi_dump. 2008-07-20 16:43:26 +02:00
Michal Krol
57482e1549 tgsi: Keep version and processor info in iterate_ctx. 2008-07-20 16:42:57 +02:00
Michal Krol
fef7f2b070 tgsi: Fix error handling. 2008-07-20 16:42:43 +02:00
Michal Krol
82f11f7e7c tgsi: Tidy up and fix tgsi_dump. 2008-07-20 16:28:59 +02:00
Michal Krol
307a252d15 tgsi: Fix dump enums. 2008-07-20 16:12:44 +02:00
Michal Krol
15c902455f tgsi: Preserve flags parameter for tgsi_dump(). 2008-07-20 16:09:18 +02:00
Michal Krol
5e9ea9d938 scons: List util/tgsi_dump_c.c. 2008-07-20 16:07:06 +02:00
Michal Krol
5ded4ffc50 tgsi: Split tgsi_dump into two modules. 2008-07-20 16:06:46 +02:00
José Fonseca
2170ec9048 pipebuffer: More detailed description of bufer over-/undereflows. 2008-07-20 18:11:43 +09:00
José Fonseca
5853b6c2fe python/tests: Check support for non-pot/non-square textures. 2008-07-20 09:28:27 +09:00
José Fonseca
43df2fe2d9 gallium: Fix typo in function name. 2008-07-20 09:27:48 +09:00
José Fonseca
939be248fe raw2png: Handle r5g6b5 format. 2008-07-20 09:27:27 +09:00
José Fonseca
b1d6ff1afd python/tests: Specify the right texture target when querying formats. 2008-07-19 12:32:29 +09:00
José Fonseca
8aafc03b26 gallium: Finer grained is_format_supported. 2008-07-19 12:32:29 +09:00
José Fonseca
ff26c50153 tgsi: Make tgsi_sanity return TRUE on success as documented. 2008-07-19 12:32:29 +09:00
José Fonseca
1a8ceb3828 gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h 2008-07-19 12:32:29 +09:00
Brian Paul
72e57b52f0 mesa: glsl: various writemask/swizzle improvements and clean-ups 2008-07-18 19:46:19 -06:00
Brian Paul
7218626cf5 mesa: rework array/struct addressing code.
The slang_ir_storage type now has a pointer to parent storage to represent
storage of an array element within an array, or a field within a struct.
This fixes some problems related to addressing of fields/elements in non-
trivial cases.  More work to follow.
2008-07-18 14:46:42 -06:00
Brian Paul
a4fd90e325 mesa: regenerated file 2008-07-18 14:46:41 -06:00
Brian Paul
2b3515c5b2 mesa: fix some GLSL /= int operators
plus add a few more special constructors to improve code quality.
2008-07-18 14:46:41 -06:00
Brian Paul
b64882d0f8 mesa: fix set_program_uniform_matrix(): need to loop over matrix count 2008-07-18 14:46:41 -06:00
José Fonseca
583b9ccbd5 gallium: Add a pf_is_ycbcr utility function. 2008-07-18 22:22:22 +09:00
José Fonseca
3ca935d9ef python/tests: Extend the texture tests to cover volumes. 2008-07-18 10:42:44 +09:00
José Fonseca
bfee84df86 python: Add methods to get texture width, height, etc.
SWIG does a poor job with arrays inside structures.
2008-07-18 10:42:44 +09:00
Michal Krol
1e5419fa30 tgsi: Express tgsi_sanity in terms of tgsi_iterate. 2008-07-18 00:41:45 +02:00
Michal Krol
e1fd3ea415 scons: List util/tgsi_iterate.c. 2008-07-18 00:40:28 +02:00
Michal Krol
638ecbda3e tgsi: Add tgsi_iterate_shader utility.
Walks the token stream and invokes callbacks.
2008-07-18 00:39:23 +02:00
Michal Krol
f2053cfa1a tgsi: Fix parsing an instruction with no operands. 2008-07-17 20:40:13 +02:00
Michal Krol
10d1dc68a4 tgsi: Perform a sanity check after reading a shader from text. 2008-07-17 20:23:26 +02:00