| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/main/context.c
|
| |
| |
| |
| |
| |
| |
| | |
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.
(cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
|
| |
| |
| |
| |
| |
| | |
This fixes incorrect front/back-face orientation.
(cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the
8 least significant bits of y should come from the
8 most significant bits of x.
|
| |
| |
| |
| |
| | |
The pstipple, aaline and aapoint code would create specialized versions
of shaders and upload them to the driver -- but never free them.
|
| |
| |
| |
| |
| | |
The AA line and point code also needs to free token arrays after
building driver shaders.
|
| |
| |
| |
| | |
Add missing FREE() after MALLOC().
|
| | |
|
| |
| |
| |
| |
| | |
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.
|
| |
| |
| |
| | |
This fixes incorrect front/back-face orientation.
|
| |
| |
| |
| |
| |
| | |
This was originally taken from i915 and it shows.
Basically most the stuff in r300_render.c was never needed and
shouldn't have worked in the first place
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a crash when clearing the window with a quad after drawing large
points. We were asking the draw module how many vertex shader outputs
there were and got 3 instead of 2. This led to creating vertices with
too many attributes and trying to read invalid memory.
We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's
flush functions already.
This omission was just an oversight in the wide_point stage.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
There is no current pixel format. Each HDC has its pixelformat which is
kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions.
Now the HDC's pixelformat is kept in the stw_framebuffer, which is
created during the SetPixelFormat.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The special feature of bin/minstall to copy symlinks is only ever needed
when installing libraries which may have .so symlinks. All the headers
and directories can use a normal install program.
These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the
user (or autoconf) to override installing normal files as they please.
An autoconf check for the install program has been added and will be
used in preference to minstall when available.
Fixes bug 16053.
|
| | |
|
| |
| |
| |
| | |
This is the (de)marshalling and connection managment code
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the incorrect colors seen when rendering flat-shaded polygons.
Note that clipped polygons were correct, but unclipped polygons were wrong.
See the glean/clipFlat test for regression testing.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
This fixed unclipped polygons, but broke clipped polygons.
A better fix from the mesa 7.5 branch will be merged next...
|
| | |
|
| | |
|
| |
| |
| |
| | |
On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This makes some code cleaner, and we can now easily
do CEIL and TRUNC.
|
| |
| |
| |
| |
| |
| |
| |
| | |
For TXP we need to divide texture coords by their w component, or
use the coords' 1/w in the perspective interpolation instruction.
This also tries to support 1D, 3D and CUBE textures, and lets the
instruction only load the components that are used.
|
| |
| |
| |
| |
| |
| |
| | |
Use different buffers for immds, FP params, and VP params.
One has to map constant buffer indices in shader code to buffers
defined via CB_DEF. In principle, we could use more buffers so
we'd have to change the shader code less frequently.
|
| |
| |
| |
| |
| | |
Since we stopped using alloc_temp to get hw indices for FP attrs
there shouldn't be any non-deallocated temps left.
|
| |
| |
| |
| |
| | |
Since we know when we don't use a TEMP or FP ATTR register anymore,
we can release their hw resources early.
|
| |
| |
| |
| |
| |
| | |
Immediates are inlined now where possible, so we need to set
pc->allow32 to FALSE in LIT where we have the conditional MOV,
since immediates swallow the predicate bits.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
I chose to just convert unpaired 32 bit length instructions
after parsing all instructions, although it might be possible
to determine beforehand whether there would be any lone ones,
and then even do some swapping to bring them together ...
|