Commit graph

32957 commits

Author SHA1 Message Date
Zack Rusin
aeaf2cf18f draw llvm: fix draw arrays
we don't index within the outputs but only within the inputs
2010-04-06 11:00:35 -04:00
Zack Rusin
9dd70e7b85 draw llvm: fix loop iteration and vertex header offsets
the loop was doing a NE comparison which we could have skipped if the prim
was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion
to aos.
2010-04-06 00:13:20 -04:00
Zack Rusin
1b0bab167c draw llvm: when generating the vertex_header struct adjust its name
change the name to not clash and accuretly represent the number of inputs
we store in the data member
2010-04-05 16:43:53 -04:00
Zack Rusin
cb31d3b5fe draw llvm: fix storing of outputs for the rest of the pipeline
there's no good way of aligning the output's, and since the vertex_header
is variable sized in the first place we need to extract elements from a vector
and store them individually into an array. this gets the basic examples working
again
2010-04-02 18:52:32 -04:00
Zack Rusin
557b75248a draw llvm: fix translation of formats with variable components 2010-04-02 15:56:34 -04:00
Zack Rusin
ab5c097387 draw llvm: a lot better storing implementation 2010-04-01 18:58:51 -04:00
Zack Rusin
b6d052e4fd Merge remote branch 'origin/master' into gallium_draw_llvm 2010-03-31 22:16:09 -04:00
Zack Rusin
ae5487d427 draw llvm: fix iteration over buffers
fetching was converting garbage
2010-03-31 22:15:12 -04:00
Zack Rusin
2fb655d1db gallivm: convert floats to doubles
printf can't handle floats, convert them to doubles so that we can
actually print floats.
2010-03-31 21:30:37 -04:00
Marek Olšák
2ab7375572 r300g: add RGBA16F colorbuffer support
Disabled by default due to unresolved IP issues.
2010-04-01 02:21:06 +02:00
Marek Olšák
3252651fb2 r300g: add RGTC texture support
The CS checker already knows about this.
2010-04-01 02:14:52 +02:00
Marek Olšák
39e116e3a0 r300g: format handling cleanup 2010-04-01 01:13:26 +02:00
José Fonseca
f45d43a17f softpipe: Use S3TC when avaiilable, 2010-03-31 22:47:11 +01:00
José Fonseca
9388ce4191 util: Hook into libtxc_dxtn.so (WIP). 2010-03-31 22:46:42 +01:00
José Fonseca
b5d073b39d llvmpipe: Don't call unused generate_clamp(). 2010-03-31 21:37:57 +01:00
José Fonseca
36e92a0494 libgl-xlib: Fix missing X11 symbols. 2010-03-31 21:27:47 +01:00
José Fonseca
018aae950d util: Make the accessors bidimensional again.
Otherwise there's no way to unpack blocks with height >1
2010-03-31 21:27:47 +01:00
Michal Krol
b8012643e1 util: First stab at half-float conversion. 2010-03-31 21:55:31 +02:00
José Fonseca
329814c6ee util: Describe PIPE_FORMAT_NONE as PIPE_FORMAT_R8_USCALED.
Avoids the need to special case PIPE_FORMAT_NONE so often.

Conflicts:

	src/gallium/auxiliary/util/u_format_table.py
2010-03-31 20:19:14 +01:00
José Fonseca
9fcf2b87b3 util: Silence pointer to integer size mismatch errors. 2010-03-31 20:16:15 +01:00
José Fonseca
69895725cf util: Add callback to fetch a single pixel. 2010-03-31 20:15:17 +01:00
José Fonseca
3200e70858 python/tests: Read the number of tests to execute from command line. 2010-03-31 20:05:10 +01:00
José Fonseca
96548d80e5 mesa: Use a consistent name of the external s3tc library for all windows compilers. 2010-03-31 19:53:25 +01:00
José Fonseca
93eee0537f scons: Force to consider the util/u_format_pack.py for util/u_format_table.c. 2010-03-31 19:43:57 +01:00
José Fonseca
cf5cd836de scons: Don't always include/links X11 headers/libs.
Move it into a separate tool.

TODO: Needs to be "tooled" in each SConscript that uses it.
2010-03-31 18:40:10 +01:00
José Fonseca
6047c89a23 scons: Don't always link expat.
Only needed for DRI. Should be linked in DRI specific subdirectories.
2010-03-31 18:38:23 +01:00
José Fonseca
e1c1911435 llvmpipe: Disable threads by default on embedded. 2010-03-31 18:38:12 +01:00
Kurt Daverman
730cd1baaa os: Temporarily use posix thread for embedded too. 2010-03-31 18:38:07 +01:00
José Fonseca
711f6428bc scons: Allow any toolchain to be specified in the command line. 2010-03-31 18:37:38 +01:00
José Fonseca
f1f6370eb4 util: Remove the hand written u_tile.c functions for the ones that are code generated correctly.
Not that the code generated are any better, but to quickly detect any regression
in the code generated ones from now on.
2010-03-31 17:31:14 +01:00
José Fonseca
c5d4a44f44 util: Use u_format_pack.py's code instead of u_format_access.py. 2010-03-31 17:31:14 +01:00
José Fonseca
8e833c7988 llvmpipe: Don't rely on u_format_access.py 2010-03-31 17:30:12 +01:00
Roland Scheidegger
d97f6963ae Merge branch 'gallium-new-formats'
Conflicts:
	src/gallium/auxiliary/util/u_format.csv
	src/gallium/auxiliary/util/u_format_access.py
	src/gallium/auxiliary/util/u_format_pack.py
2010-03-31 16:57:05 +02:00
José Fonseca
96bf4aff5b util: Put the format pack/unpack functions in the description table. 2010-03-31 15:32:16 +01:00
José Fonseca
e245ca74e1 util: Make pack/unpack operate on spans. 2010-03-31 15:32:16 +01:00
Ben Skeggs
b46750d601 st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places 2010-03-31 23:34:30 +10:00
José Fonseca
325d55303d util: Make util_format_xxx_pack_xxx take pointer as arguments. 2010-03-31 14:31:29 +01:00
José Fonseca
bce109c944 util: Fix PIPE_FORMAT_B5G5R5X1_UNORM test case. 2010-03-31 14:28:54 +01:00
José Fonseca
338b9d71df util: Use VOID type for X channels in format descriptions. 2010-03-31 14:28:34 +01:00
José Fonseca
d0258ca59d python/tests: Run trhough tests randomly. 2010-03-31 14:05:55 +01:00
José Fonseca
213e6584ed gallivm: Fix USCALED translation. Minor Cleanups. 2010-03-31 14:05:21 +01:00
José Fonseca
ead8f82eeb llvmpipe: More accurate format capability exporting. 2010-03-31 14:00:46 +01:00
José Fonseca
aa364d091e llvmpipe: Drop the aos format conversion.
It's unused and incomplete. Still in git history if necessary in future.
2010-03-31 13:59:59 +01:00
José Fonseca
7a26c875a9 util: Generalize lp_format_is_rgba8 into util_format_is_rgba8_variant. 2010-03-31 13:55:12 +01:00
José Fonseca
e566046efc python/tests: Rename test name.
We only test blitting from a surface -- we don't test any sampler state.
2010-03-31 13:28:36 +01:00
José Fonseca
6de8f86ab4 python/tests: Test all existing gallium formats. 2010-03-31 13:27:08 +01:00
José Fonseca
aae63a7109 python/tests: Speed up the tests by reusing the same pipe context. 2010-03-31 13:12:24 +01:00
José Fonseca
fceee46022 python/tests: Get the tests running again. 2010-03-31 13:12:24 +01:00
José Fonseca
52b4691518 st/python: Generate binding for u_format utility functions too. 2010-03-31 13:12:24 +01:00
Vinson Lee
f2463eaccf i965g: Fix assertion that was always true.
surface_format field is a 9-bit field and the value of
BRW_SURFACEFORMAT_INVALID exceeds 9 bits.
2010-03-30 23:46:51 -07:00