| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
|
|
|
|
|
| |
This extension is now implemented in the GLSL compiler so it can be
enabled by other drivers where applicable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For GL_ARB_fragment_coord_conventions.
This only applies to gl_FragCoord and controls pixel center origin and
pixel center integer. For example:
layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord;
This features introduces the idea of re-declaring variables with a changed
type. This may also apply to arrays in some cases but that's not
implemented at this time.
|
|
|
|
|
| |
Note: because of a weird dependency checking bug, a 'make clean' may be
needed before recompiling.
|
| |
|
|
|
|
| |
Still used by some applications.
|
|
|
|
| |
Python does not have the function abort.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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]>
|