| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The previous support was overly complicated by trying to use the same
1-OWORD message for both offsets.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Otherwise, the second half isn't written, and we end up reading back
black.
Fixes the remaining junk drawn in glsl-max-varyings, and will likely
help with a number of large real-world shaders.
|
|
|
|
|
|
| |
They go into the render cache, so while we don't care about their
contents after execution, failing to note them could cause the writes
to be flushed over important buffer contents later.
|
| |
|
|
|
|
| |
Otherwise, the subsequent read may not get the written value.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
And remove checks of surface depth bits. The state tracker should
not turn on depth/stencil testing if the framebuffer doesn't have
depth/stencil.
|
| |
|
|
|
|
|
| |
glx_info is used if X_DRI2SwapBuffers is defined
This reverts commit c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605.
|
|
|
|
|
|
|
| |
This configure some of the value properly based on
asic so others asic than RV710 works too.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
| |
some of the ALU instructions are different on r6xx vs r7xx,
separate the alu translation to separate files, and use family
to pick which compile stage to use.
|
|
|
|
| |
allow pipe driver to get the family of the gpu.
|
|
|
|
| |
The other drivers just return 0 without the assert.
|
|
|
|
|
|
|
| |
Depth clamping seems to be implicit if clipping is disabled.
It's not perfect, but it's good enough for wine and passes
the corresponding piglit tests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This quiets a compiler warning, (and ensures a segmentation fault rather
than memory corruption if this variable is written through before being
initialized elsewhere).
|
|
|
|
|
|
|
|
| |
While bootstrapping the dependencies, make will see the "include depend"
directive before the depend file has been created. To avoid a spurious
warning in this case we use "-include" instead, (which differs precisely
in the fact that it will not emit a diagnostic if the named file does
not exist).
|
|
|
|
| |
To quiet a compiler warning.
|
|
|
|
| |
To quiet a compiler warning.
|
|
|
|
| |
Based on the two recent changes to program_lexer.l.
|
|
|
|
|
|
|
|
|
|
| |
This avoids two "function defined but not used" warnings. For the yyinput
function we define YY_NO_INPUT which tells flex to simply not generate this
function.
For unput, we add a call to this function, but inside a while(0) so
that it will quiet the warning without actually changing any
functionality.
|
|
|
|
|
|
| |
Add declarations for two functions generated in the flex ouput. It
would be nicer if flex simply declared these generated functions as
static, but for now we can at least avoid the warning this way.
|
|
|
|
|
|
| |
Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels.
Fixes piglit line-aa-width test, fd.o bug 29160.
|
|
|
|
| |
Signed-off-by: Patrice Mandin <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Instead of one big boolean indicating indirect addressing, use a
bitfield indicating which register files are accessed with indirect
addressing.
Most shaders that use indirect addressing only use it to access the
constant buffer. So no need to use an array for temporary registers
in this case.
|
|
|
|
| |
Indicates which register files are accessed with indirect addressing.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
As with indexing the const buffer, the ADDR reg may have totally
different values for each element. Need to use a gather operation.
|
| |
|
| |
|
|
|
|
|
| |
This used to be a somewhat packed struct, but no longer. Remove the
last remaining bitfield tag.
|
| |
|
|
|
|
|
|
|
|
|
| |
The previous code assumed that all elements of the address register
were the same. But it can vary from pixel to pixel or vertex to
vertex so we must use a gather operation when dynamically indexing
the constant buffer.
Still need to fix this for the temporary register file...
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Signed-off-by: Brian Paul <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
If max_index=0xffffffff and elt_bias > 0 the test for
elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES
was wrong. Check earlier if max_index=0xffffffff and do the
"fail" case.
This fixes the piglit draw-elements-base-vertex test (and probably
some other things).
|