| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Emeric Grange <[email protected]>
Reviewed-by: Christian König <[email protected]>
|
|
|
|
| |
Signed-off-by: Emeric Grange <[email protected]>
|
| |
|
| |
|
|
|
|
| |
R4A4 is needed by OSD in mplayer's xvmc output
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This subclass of r600_resource doesn't contain any useful members,
so let's just use r600_resource.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The winsys doesn't need it.
|
| |
|
|
|
|
| |
Also move that function to r600_drm.c
|
|
|
|
| |
The scons build still depended on libdrm_radeon.
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: Bryan Cain <[email protected]>
|
|
|
|
|
|
| |
Try to use the PMPEG where available
Signed-off-by: Maarten Lankhorst <[email protected]>
|
|
|
|
|
|
|
| |
They are needed by glsl_to_tgsi for an efficient implementation using native
integers.
Reviewed-by: Brian Paul <[email protected]>
|
|
|
|
|
|
|
|
| |
These two functions were nearly the same with lots of duplicated code.
Now pass in a boolean 'elts' flag and use a few conditionals to implement
the linear vs. indexed cases.
Reviewed-by: José Fonseca <[email protected]>
|
|
|
|
|
| |
According to the GLSL spec, the implementor can decide which way to round
when the fraction is .5. The r300 compiler will round down.
|
|
|
|
| |
The function no longer exists. This fixes Gallium build.
|
| |
|
| |
|
| |
|
|
|
|
| |
I had to guess & verify how some of the SAMPLE instructions work.
|
| |
|
|
|
|
|
|
| |
This fixes piglit/fbo-depth-array.
Reviewed-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes piglit/fbo-generatemipmap-array.
It looks like SQ_TEX_SAMPLER_WORD0_0.TEX_ARRAY_OVERRIDE should be set
for array textures in order to disable filtering between slices,
which adds a dependency between sampler views and sampler states.
This patch reworks sampler state updates such that they are postponed until
draw time. TEX_ARRAY_OVERRIDE is updated according to bound sampler views.
This also consolidates setting the texture state between vertex and
pixel shaders.
|
|
|
|
| |
Reviewed-by: Dave Airlie <[email protected]>
|
|
|
|
| |
And filling in all the switch statements in auxiliary. Mostly untested.
|
|
|
|
| |
v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
|
|
|
|
|
|
|
|
|
| |
It's not clear if these are acceptable cases so issue a one-time warning
in debug builds when we hit them.
Fixes segfault in piglit fbo-mipmap-copypix test.
Reviewed-by: José Fonseca <[email protected]>
|
|
|
|
|
| |
Fix for the st/egl interface change since
08e1076fd2d3f6fb879dd2529e7d035d6a399da2.
|
|
|
|
| |
It maps to PIPE_FORMAT_R8G8B8A8_UNORM.
|
|
|
|
| |
Note: This is a candidate for the 7.11 branch.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha.
(Based on Chia-I Wu's patch)
[olv: remove the use of param_premultiplied_alpha from the original
patch]
|
|
|
|
|
|
|
|
|
| |
Handle "format" events and return configs for the supported formats.
(Based on Chia-I Wu's patch)
[olv: update and explain why PIPE_FORMAT_B8G8R8A8_UNORM should not be
enabled without HAS_ARGB32]
|
|
|
|
| |
This reverts commit 95b445699d7f049116ee0927387a958a9933766b.
|
|
|
|
| |
This reverts commit 23aa978a9d76a48f4b93e9a8911ec50c0e5d94ab.
|
|
|
|
|
|
| |
Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha. Currently, it means when argb32 and
argb32_pre are both supported.
|
|
|
|
|
|
| |
When wl_drm is avaiable and enabled, handle "format" events and return
configs for the supported formats. Otherwise, assume all formats of
wl_shm are supported.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EGL does not export this capability of a display server. But wayland
makes use of EGL_VG_ALPHA_FORMAT to achieve it.
So, when the native display returns true for the parameter, st/egl will
set EGL_VG_ALPHA_FORMAT_PRE_BIT for all EGLConfig's with non-zero
EGL_ALPHA_SIZE. EGL_VG_ALPHA_FORMAT attribute of a surface will affect
how the surface is presented.
Because st/vega does not support EGL_VG_ALPHA_FORMAT_PRE_BIT,
EGL_OPENVG_BIT will be cleared.
|
|
|
|
| |
Return TRUE if the display supports premultiplied alpha.
|