Corbin Simpson
2708d7f700
r5xx: Swap sources for CMP.
Follows the same pattern as the op on r3xx/r4xx. Thanks airlied.
17 年前
Corbin Simpson
a6c38f2f64
r5xx: Fix typo of epic proportions.
17 年前
Corbin Simpson
2225b9bdb0
r5xx: ALU/OUT fixups.
Lots of small changes. Intentionally breaks some tex stuffs.
17 年前
Brian Paul
fd59f19cd2
Move _mesa_init_glsl_driver_functions() into shader_api.c
This allows making a bunch of functions static, and removes a state
tracker dependency on driverfuncs.c
cherry-picked from gallium-0.1
17 年前
Brian Paul
88c0a74633
additional fog/color matrix changes from gallium-0.1
17 年前
Brian Paul
6e92968d75
add state vars for color matrix, pixel transfer scale&bias
cherry-picked from gallium-0.1 (068c7bd912
)
17 年前
Brian Paul
2f8fc325ac
mesa: added internal post color matrix scale/bias vars
cherry-picked from gallium-0.1 (302daeb2ec
)
17 年前
Brian Paul
0c78c766e4
fixes to _mesa_combine_programs(), from gallium-0.1
17 年前
Brian Paul
5976a6a75c
added div by zero check for Fog.End/Start (from gallium-0.1)
17 年前
Brian Paul
4b6b0fd526
clean-ups / additions from gallium-0.1 branch
17 年前
Dave Airlie
bdfd5d95c5
r300: fixup US_OUT_FMT bits
17 年前
Dave Airlie
126673261d
r500: you can have a single texcoord
17 年前
Corbin Simpson
0910d9d4d6
r5xx: Add OPCODE_KIL.
17 年前
Corbin Simpson
c57b3b1d2c
r5xx: Added OPCODE_DPH.
Like DP4, but with one swizzle change.
17 年前
Corbin Simpson
6dd3c0ed96
r5xx: Fix FRC.
This makes tri-frc work.
(Remind me again why I'm allowed near a compiler, lawl.)
17 年前
Corbin Simpson
16cc362f0b
r5xx: Fix SCS.
Output instructions need to be marked OUT so they can write to the fifo.
Also, negation doesn't work with SWZ yet.
17 年前
Corbin Simpson
c11a33fe76
r5xx: Add OPCODE_SWZ.
It's so easy!
17 年前
Corbin Simpson
d5aa421661
r5xx: Add OPCODE_SCS.
It's disabled, though, because it doesn't work. I'll figure it out later...
17 年前
Corbin Simpson
405ee871c5
r5xx: Adding more opcodes.
EX2, FRC, LG2, SIN, RCP, and RSQ, if you care.
All of these except FRC are like COS. This pretty much rounds out the set of
opcodes which can be done in one ALU inst.
17 年前
Corbin Simpson
0de02f1716
r5xx: First swing at OPCODE_COS.
17 年前
Corbin Simpson
d8529d9b00
r5xx: Unbreak MAX and MIN.
Both of them had faulty copypasta.
17 年前
Dave Airlie
5e075fb809
r500: set fragprog end to correct place
17 年前
Alex Deucher
ba50c3fed3
r300: SC register naming cleanup
17 年前
Alex Deucher
791c95230c
r500: write out the correct FP registers
17 年前
Brian Paul
896c0cc8ec
bring in fixes/changes from gallium-0.1
17 年前
Brian Paul
a2e6beade1
fix an attr/src mix-up when setting-up/binding vertex arrays
This fixes problems with incorrect material coefficients when glMaterial
is called per-vertex.
17 年前
Brian Paul
f27c6f3139
fix merge collision
17 年前
Brian Paul
f2632212ad
silence warning, new assertion
17 年前
Shunichi Fuji
e291cf6f8d
free(key) in _tnl_UpdateFixedFunctionProgram()
17 年前
Brian Paul
8bdf5b6e64
Fix a program refcounting error, don't share program parameter lists.
The refcounting bug was causing a memleak (unfreed programs).
The old parameter list sharing is not needed since the change in how
uniforms are handled.
17 年前
Brian Paul
a3e86d43e6
minor changes to aid debugging
17 年前
Brian Paul
eb4271ea8b
remove stray, left-over RefCount++
17 年前
Brian Paul
6de6999edc
whitespace/formatting
17 年前
Brian Paul
1af2b14514
init SamplersUsed bits in _mesa_parse_arb_fragment_program
17 年前
Brian Paul
885cc592df
fix assertion typo: s/=/==/
17 年前
Shunichi Fuji
e6cd9d88d3
Fix memory leak in _tnl_UpdateFixedFunctionProgram
17 年前
Brian Paul
0639998ee8
Fix DRI build
17 年前
Dave Airlie
d6333af7e9
r500: default rsunit swizzle like fglrx
17 年前
Dave Airlie
9aa62c7238
r500: shift tex src properly
17 年前
Dave Airlie
76f32499d2
r500: fixup r500 rs unit texture coordinate counting
17 年前
Dave Airlie
a0bc6d2fb2
r500: remove some debugging
17 年前
Dave Airlie
73af48fff5
r500: split output/pixel masks and emit in the correct places
17 年前
Dave Airlie
c9d5d11d2d
r3/500: emit RS state before VAP
17 年前
Dave Airlie
412c850eab
r500: fixup the program allocations to be the correct sizes
17 年前
Dave Airlie
350c80fa99
r300: set screen so that context init can find out chip ids
17 年前
Dave Airlie
e1bffd0318
r500: add cmp support in theory
17 年前
Dave Airlie
10e0a36a49
r500: some trivial fixups to get tri working.
the counter was being used one instruction over the end
17 年前
Dave Airlie
375656440b
r500: we just need to emit a colour for clear drop tex instruction
17 年前
Brian Paul
ade508312c
Updated GLSL uniform/sampler handling from gallium-0.1 branch
Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms. This made the implementation
of glUniform*() simple, but was rather inefficient otherwise. Now each shader
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).
cherry-picked by hand from gallium-0.1 branch
17 年前
Brian Paul
c807c1a23f
mesa: new functions for managing list/index of uniforms
cherry-picked from gallium-0.1
17 年前