| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
otherwise we decrement indexes for all registers
|
| | |
|
| |
| |
| |
| | |
Same story as in the tgsi_dump.c code (see prev commit).
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes TGSI dump output when front/back-face register is declared.
Also, add some assertions to make sure the semantic/interpolate string
arrays have as many elements as there are tokens in the p_shader_tokens.h
file. That should catch problems like this in the future.
|
| | |
|
| |
| |
| |
| | |
Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
|
| |
| |
| |
| | |
Based on a patch by [email protected]
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The values 2147483648.0 and 4294967294.0 are too larget to be stored in single
precision floats. Forcing these to be singles causes bits to be lost, which
results in errors in some pixel transfer tests.
This fixes bug #22344.
(cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7)
|
| |
| |
| |
| | |
Port fixes to read buffer from front.
|
| |
| |
| |
| | |
Need to retrieve the bits from the rrb not from screen struct
|
| |
| |
| |
| |
| |
| | |
The _Enabled field isn't updated at the point that DrawBuffers is called,
and the Driver.Enable() function does the testing for stencil buffer
presence anyway.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. new PCI ids
2. fix some 3D commands on new chipset
3. fix send instruction on new chipset
4. new VUE vertex header
5. ff_sync message (added by Zou Nan Hai <[email protected]>)
6. the offset in JMPI is in unit of 64bits on new chipset
7. new cube map layout
|
| |
| |
| |
| | |
random output is bad
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is possible to bind texture images of an incomplete mipmapped texture.
Software fallbacks in this case incorrectly tried to mmap the entire texture.
Additionally, add span functions for 1555 and 4444 formats.
This fixes crashes in piglit's fbo-readpixels test; unfortunately, the test
itself still fails - this needs to be investigated.
Signed-off-by: Nicolai Hähnle <[email protected]>
|
| |
| |
| |
| |
| |
| | |
This updates some of the clear code from Intel gives a 5x clearspd perf
for me here. played openarena also, not sure if the viewport changes
broke anything,
|
| |
| |
| |
| | |
it might still be misrendering not sure
|
| |
| |
| |
| | |
fgl_glxgears -fbo runs, though the gears don't look right yet.
|
| | |
|
| |
| |
| |
| | |
make sure to turn off when no texture is used in hw
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a function parameter is const-qualified we can avoid making a copy
of the actual parameter (we basically do a search/replace when inlining).
This is now done for array element params too, resulting in better code
(fewer MOV instructions).
We should allow some other types of function arguments here but let's be
conservative for the moment.
|
| |
| |
| |
| |
| | |
The two indexes were mixed up when accessing a row of a matrix in an array
of matrices.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
two)
The semantics are a little different for shaders vs. fixed-function when
trying to use an incomplete texture. The fallback texture returning
(0,0,0,1) should only be used with shaders. For fixed function, the texture
unit is truly disabled/ignored.
Fixes glean fbo test regression.
(cherry picked from commit 01e16befd4809e3e93ee7855a4a5d7df9fe010d9)
(cherry picked from commit 51325f44d1e7e62b47795a79f8038d10dc5bc30b)
[anholt: squashed these two together from master, skipping the mess in between]
|
| | |
|
| | |
|
| |
| |
| |
| | |
Seriously.
|
| |
| |
| |
| | |
These will come back in someday, when we can properly use them.
|
| |
| |
| |
| | |
They have to cross into each other's registers.
|
| |
| |
| |
| | |
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
|
| |
| |
| |
| | |
As reported and initially tested by MrCooper.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Stride == 0 means that we value for first vertex should be copied to every other vertices (e.g. constant color).
This fixes glean/vertProg1 and sauerbraten with enabled shaders.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Even after fixing bugs in this code, it doesn't make me feel any cleaner.
Fixes piglit stencil-drawpixels.
|
| | |
|
| |
| |
| |
| | |
This state flag has been unused since the ffvertex_prog move to core.
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise, a pointer greater than the size would underflow and give a large
maximum element.
Reviewed-by: Brian Paul <[email protected]> (previous version)
|
|\| |
|
| |
| |
| |
| |
| | |
Also fix one case where a 32 bit depth value was incorrectly converted to a
combined depth/stencil value.
|
| |
| |
| |
| |
| | |
Such visuals are subject to automatic compositing in the X server, so DRI1
can't render to them properly.
|