| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This fixes invalid calls to rastpos_point/line/tri() that can occur
when glRasterPos() is called while in feedback or selection mode.
(cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
|
|
|
|
|
|
|
|
| |
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since
that doesn't provide any useful info.
Also, implement the loop around pipe->draw_range_elements() when
nr_prims > 1.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Now that we track the global name in struct intel_region, we can just
look it up there.
|
| |
|
|
|
|
| |
We just threw it away before, but we haven't had a use for it yet.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway.
To allow aniso 1x (which seems of dubious value but some hardware (radeons)
have such a mode, and even d3d allows specifiying it) redefine anisotropic
filtering as disabled only if max_anistropy is 0.
|
| |
| |
| |
| | |
seems cleaner, and other dynamic state like viewport is handled that way too
|
| |
| |
| |
| | |
makes life of state trackers easier
|
| |
| |
| |
| |
| | |
compiles. Might need to do something to make it possible to save/restore
stencil ref.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This will make driver's life a bit harder, however it makes sense that stencil
reference value is not part of the pipe_depth_stencil_alpha_state, because
it often (there are some algorithms which require this) changes more frequently
than the rest of the dsa state. This is also encouraged by some graphic APIs.
Treat it similar to pipe_blend_color.
|
| |
| |
| |
| |
| | |
This reverts commit 325614a882f5371da512536e07c443a172ffb87c.
Ok this was already fixed this commit actualy broke things
|
| |
| |
| |
| |
| | |
To avoid kernel complaining and to set proper boundary on
vbo, substract the vbo offset to the vbo size.
|
| |
| |
| |
| |
| | |
to make kernel cs checker happier, last attribs don't need full stride of
space. Calculate as count-1*stride + size of attrib
|
| |
| |
| |
| | |
normalized seems to work with this setting.
|
| |
| |
| |
| |
| |
| | |
just to convert it back to GLuint to call unpack_depth_span.
Also removes a difference between the 24/8 and 8/24 texstore routines.
|
| |
| |
| |
| |
| | |
It's only used for a couple of integer types and and might conflict
with other client API header files.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Phew, sure is nice to only have one struct called intel region.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes invalid texture level when rendering to a texture where
GL_BASE_LEVEL > 0.
This will be cherry-picked to the 7.7 branch after additional
testing.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes fallout from 9a1bf52c.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use
TRUE instead of GL_TRUE. This causes build failures in all of the
drivers that I don't typically build. Win.
Reported by sungami on IRC.
Signed-off-by: Ian Romanick <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can't always guarantee that the swap will happen by exchange, so we
can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the
case where the swap *might be* by exchange.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Expose one config per color depth that includes accumulation buffer.
We could probably expose only one config with accumulation buffer, but
that would require figuring out the actual color depth. This is
easier and only exposes 2 useless configs.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer. All of the drivers calling
function have been updated to pass true for the accumulation
selector. This maintains the current behavior.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Corbin Simpson <[email protected]>
|
| |
| |
| |
| |
| | |
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| |
| | |
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| |
| | |
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
| | |
|
| |
| |
| |
| |
| | |
Since extension name and extension name string are the same, collapse
them into one name.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Both the #extension directive name and the preprocessor symbol start
with the GL_ prefix. For example:
...
New glean/glsl1 tests have been added to test the #extension feature.
|
| |
| |
| |
| | |
Oops, I n00bed it.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This hides the assertion failure in glean/fbo test. Underlying
problem when same texture is set twice to different attachments
will cause assertion.
|