| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
passes another ~20 piglits.
/me starts to run out low hanging fruit around now.
|
|
|
|
| |
passes glsl1-discard tests
|
|
|
|
| |
8 more piglits, mainly the two SSG tests.
|
|
|
|
|
|
| |
Adds BGNLOOP, BRK, CONT, ENDLOOP support, ported from r600c.
17 piglits more on r300g.tests.
|
|
|
|
|
|
| |
Created an array for literals as we should not always use the last declared literal.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
Fixes size calculation for the bytecode buffer.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
Silence the kernel, vbo size is size - 1.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
| |
This reverts commit bd25e23bf3740f59ce8859848c715daeb9e9821f.
Apart from introducing a lot of hex magic numbers and being highly impenetable code,
it causes lots of lockups on an average piglit run that always runs without lockups.
Always run piglit before/after doing big things like this.
|
|
|
|
|
|
|
|
|
| |
this adds handling for some more CF instructions and conditions
also adds parameter for stack size emission
These seem to pass on VS with the stack size hack but not on FS,
TODO: fix FS + stack size calcs
|
|
|
|
|
|
| |
this makes op2 emission smaller, since it skips instructions
that don't write to the dst. not sure if this could have unwanted
side effects but try it and see.
|
|
|
|
| |
though it isn't passing the test, and this instruction is pure bonghits.
|
| |
|
|
|
|
|
|
|
|
| |
Directly build PM4 packet, avoid using malloc (no states are
bigger than 128 dwords), remove unecessary informations,
remove pm4 building in favor of prebuild pm4 packet.
Signed-off-by: Jerome Glisse <[email protected]>
|
| |
|
|
|
|
| |
ported from r600c.
|
|
|
|
| |
ported from r600c, fixes fp-cmp, glsl1-sqrt*
|
| |
|
|
|
|
|
|
|
| |
We need to always at least export one component (wether it's depth
or color. Add valid r7xx shader program for depth decompression.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
| |
Before using depth buffer as texture, it needs to be decompressed
(tile pattern of db are different from one used for colorbuffer
like texture)
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Partialy fix texturing from depth buffer, depth buffer is tiled
following different tile organisation that color buffer. This
properly set the tile type & array mode field of texture sampler
when sampling from db resource.
Add initial support to untiling buffer when transfering them,
it's kind of broken by corruption the vertex buffer of previous
draw.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
| |
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
| |
Searched for them with:
git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D'
Behavior hasn't been changed.
|
| |
|
|
|
|
|
|
|
| |
This pretty much ports the code from r600c, however it doesn't
always seem to work quite perfectly, but I can't find anything in this
code that is wrong. I'm guessing either literal input or constants
aren't working always.
|
| |
|
| |
|
|
|
|
| |
the first two are straight op2's and the DDX/DDY are taken from r600c.
|
|
|
|
| |
fixes fp-set-01 and glsl-fs-step
|
|
|
|
| |
fixes biased texturing tests
|
|
|
|
|
|
| |
Don't do perspective for TEX, and also copy input to a temporary for TEX
also add tex opcode names
|
|
|
|
| |
makes glsl-fs-log2 and glsl1-integer division with uniform var pass
|
|
|
|
| |
fixes piglit pointAtten and point-sprite tests
|
|
|
|
| |
This still needs work, passes tex3d, fbo-scissor-bitmap, scissor-bitmap
|
|
|
|
|
|
|
| |
h needs to be rounded up, this probably needs revisiting when we get
to tiling etc.
fixes fbo-generatemipmap-npot
|
|
|
|
|
|
|
| |
8 more piglit tests pass,
fbo-clearmipmap, fbo-copyteximage, fbo-generatemipmap,
fbo-generatemipmap-nonsquare, fbo-generatemipmap-scissor,
fbo-generatemipmap-viewport, gen-teximage, gen-texsubimage
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Apart from the fact that the radeon.h/r600_states.h editing is a nightmare, this
wasn't so bad.
passes piglit user-clip test now also trivial tests.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
Sent on ML by Владимир.
These values are what fglrx returns.
|
|
|
|
|
| |
I noticed gears memory usage was heading skywards, some r600 "states"
aren't properly refcounted, and the ctx->state is never freed.
|
|
|
|
| |
fixes piglit stencil-twoside and stencil-wrap
|
| |
|
|
|
|
|
|
|
|
|
| |
This takes the r300g texture format checker and fixes it up for r600g,
it passes glean texSwizzle, pixelformats, and texture_srgb tests,
however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
| |
Should fix few glBitmap cases.
Signed-off-by: Jerome Glisse <[email protected]>
|