| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We will typically have a current context when we need to lookup the image,
but the lookup implementation don't need it so drop it.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=30234
|
|
|
|
|
|
|
|
|
|
| |
This is required by the spec, so respect that.
(oh, and it was required to actually fix occlusion-query-discard,
though I didn't know at the time of the commit since o-q-discard was
hanging the GPU)
(cherry picked from commit 4a0bc4716db7bbcbcd65c0f993704733f47d41f7)
|
|
|
|
|
| |
Fixes: glsl-mat-from-int-ctor-03
(cherry picked from commit eaa6bf59db68f97fa32c3395eb4aa6e589f34b26)
|
|
|
|
|
|
|
|
|
| |
Looks like the problem was we weren't passing the depth to the render
target as expected, so the chip would wedge. Fixes GPU hang in
occlusion-query-discard.
Bug #30097
(cherry picked from commit dd9a88f4ddf4e5fa384792f891a1cc3d8ff73946)
|
|
|
|
|
|
| |
Fixes glsl2/builtin-texturematrix.
Bug #30196.
(cherry picked from commit b5bb21562942dab7571ef748c3ca562a66f25b33)
|
|
|
|
|
|
|
| |
We can't expect to have a context when this is called, and we don't need one
so just require a __DRIscreen instead.
Reported by Yu Dai <[email protected]>
|
|
|
|
|
|
|
| |
For the 7.9 branch, this is simpler than merging the sprite-coord branch
and less likely to break other drivers.
Fixes fd.o bug 29849.
|
|
|
|
| |
(cherry picked from commit 2b95525429935474ee4b507348507da45adc6872)
|
|
|
|
| |
Calculate interpolants before rearranging the vertices.
|
|
|
|
| |
(cherry picked from commit 0bc3e1f4f4b0827ac4a880cdbdb1da069e80fac9)
|
|
|
|
| |
(cherry picked from commit a8fde1ba4df17427c82404e0c91930a6290391bf)
|
|
|
|
| |
(cherry picked from commit 7888a2f82200738ac03c78d9900eb028d48725a1)
|
|
|
|
|
|
| |
The permutation vector must always be a vector of int32 values.
(cherry picked from commit 3c9f4c7b750ce7e9c60d75dbe186aaaf69e4baab)
|
|
|
|
|
|
|
| |
Can be reproduced with mesa/demos/src/tests/blitfb.
NOTE: This is a candidate for the 7.9 branch.
(cherry picked from commit 168554904bc079650124fbd026d9b75834eabc92)
|
|
|
|
| |
cherry picked from commit 208f1f381076560cb76aac753d6da2287f53ddb5
|
|
|
|
|
|
| |
Count int and float constants independently. Since there are only
few i# constants available and hundreds of c# constants, it would
be too easy to end up with an i# declaration out of its range.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pixel shaders do not have address registers a#, only one
loop register aL. Our only hope is to assume the address
register is in fact a loop counter and replace it with aL.
Do not translate ARL instruction for pixel shaders -- MOVA
instruction is only valid for vertex saders.
Make it more explicit relative addressing of inputs is only valid
for pixel shaders and constants for vertex shaders.
|
|
|
|
| |
cherry picked from commit b83156d42fc0230fdbe0a566cc57ed87792ca887
|
|
|
|
|
|
|
| |
Depth-only and stencil-only clears should mask out depth/stencil from the
output, mask out stencil/input from input, and OR or ADD them together.
However, due to a typo they were being ANDed, resulting in zeroing the buffer.
|
|
|
|
|
| |
This enables EGL_MESA_drm_display for st/egl in the default setup.
(cherry picked from commit 2a910b339672e80e70d49d01ac7e8e870068e7ad)
|
|
|
|
|
| |
s/kms/drm/, s/kdpy/drmdpy/, and so forth.
(cherry picked from commit e4513e7fb96c6336d8c7fcdadfaddb6b335a736e)
|
|
|
|
|
|
| |
The main use of the backend is to support EGL_MESA_drm_display. drm
should be a better name.
(cherry picked from commit e7424d72405a1cb1fb5ac625b340043aaa9f88be)
|
|
|
|
|
|
| |
The modeset code supports now obsolete EGL_MESA_screen_surface. Move it
to a file of its own.
(cherry picked from commit c7c2e7d0ce97b1586219be2ba742758f23f5c7aa)
|
|
|
|
|
|
|
|
|
|
| |
Basically, change the loop from:
do {...} while (--num_inputs != 0)
into:
while (num_inputs != 0) { ... --num_inputs; }
Fixes fd.o bug 29987.
(cherry picked from commit 4b27c614cf4b06ad0c2a0414f60737f19eed021d)
|
|
|
|
| |
st/egl no longer relies on libGL for OpenGL support.
|
|
|
|
|
| |
Otherwise, applications compiled with C compiler might have trouble
using them.
|
|
|
|
|
|
|
| |
Otherwise, FEATURE_EXT_texture_sRGB was undefined.
This is (part of?) the fix for fd.o bug 30177.
(cherry picked from commit 3a6f9d0f47861b1c618366d679ad8ddd9a06b323)
|
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=29901
(cherry picked from commit d4b2de13bc652cd134826801ada48d0bb88a8258)
|
|
|
|
| |
(cherry picked from commit 4cd751bcc48798f19b089f6cff58bfca2f18fe36)
|
|
|
|
|
|
|
|
|
| |
The current context should be notified when the the front/back buffers
of the current drawable are swapped. The notification was skipped when
xmesa_strict_invalidate is false (the default).
This fixes fdo bug #29774.
(cherry picked from commit 03224f492dc9cee179ff9ed961be0443a3669dd1)
|
|
|
|
|
|
|
| |
Enable some extensions now that the needed tokens are defined in
GLES/glext.h and GLES2/glext.h. Update the prototype of MultiDrawArrays
now that the prototype of _mesa_MultiDrawArraysEXT has been updated.
(cherry picked from commit 9ca59b2427837b8a70b580d66b4909e5f8443945)
|
|
|
|
|
|
|
|
| |
This fixes an error in GLAPI ES. My build is ok with or without this
patch, and the error affects others' setups.
[Patch from Francesco Marella]
(cherry picked from commit e3c46cf58684785ab16862548d6806227f0bdd21)
|
|
|
|
|
|
|
|
| |
The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to
decide whether to define GLfixed and GLclampx.
This fixes fdo bug #30205.
(cherry picked from commit cad87ebc3a9c176a44f5193af7e16d6ecad4e03f)
|
|
|
|
|
|
|
| |
fbHeight is 0 in this case
uncovered by changes in b0bc026c and should fix kernel rejecting command
streams after that commit
|
|
|
|
|
|
|
|
| |
The shadow versions of the texture targets use an extra component
(Z) to express distance from light source to the fragment.
Fixes the shadowtex demo with llvmpipe.
(cherry picked from commit 95254bbd2ddf0c6207a642604cc218ac9d711501)
|
| |
|
|
|
|
|
|
|
| |
caused by 0b9eb5c9bb03e5134d9a41786178100109e80c5a
test run glxgears, resize.
(cherry picked from commit 09ef8e9283f17e5dc9fa4a86c659048acda833cb)
|
|
|
|
|
|
|
|
| |
This fixes a DRM deadlock in the cubestorm xscreensaver, because somehow
there must not be 2 different BOs relocated in one CS if both BOs back
the same handle. I was told it is impossible to happen, but apparently
it is not, or there is something else wrong.
(cherry picked from commit 0b9eb5c9bb03e5134d9a41786178100109e80c5a)
|
| |
|
|
|
|
|
|
|
|
|
| |
when setting negative integers to bitfields we could overwrite
other parts of it. So mask the value to be written correctly.
This is used quite often in the driver - hope it doesnt affect
performace or uncover behaviour relied before...
fixes strange effects when setting negative lodbias on evergreen
|
| |
|
| |
|
|
|
|
|
|
| |
A number of other files had to be updated as well because const
qualifiers were added to the glMultiDrawArrays() function.
Also, GL_FIXED is now defined in glext.h.
|
| |
|
|
|
|
|
| |
Silences a compiler warning. Still need to add some assertions
for this case.
|
| |
|
|
|
|
|
| |
Remove all FEATURE tests in mesa/drivers/common/. They are not needed
and the code looks better without them.
|
|
|
|
|
| |
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync
is 0, and remove most FEATURE_ARB_sync tests.
|
|
|
|
|
| |
They were intended to be used to build OpenGL ES only DRI drivers, but
that never happened.
|