| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
An unlinked context is destroyed after _eglMakeCurrent. Flushing such
context would cause segfault.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
At least its better then hardcoded to i915
|
| |
|
|
|
|
| |
Fall back to interpreter for now. This doesn't happen very often.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SOA dependencies can happen when a register is used both as a source and
destination and the source is swizzled. For example:
MOV T, T.yxwz; would expand into:
MOV t0, t1;
MOV t1, t0;
MOV t2, t3;
MOV t3, t2;
The second instruction will produce the wrong result since we wrote to t0
in the first instruction. We need to use an intermediate temporary to fix
this.
This will take more work to fix for all TGSI instructions. This seems to
happen with MOV instructions more than anything else so fix that case now
and warn on others.
Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
|
|
|
|
| |
Users of the parser can make use of this.
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit d2787c02c130b1fe20d0c032d468622f2fdaef79)
|
|
|
|
| |
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Could previously emit opcodes with label arguments, but was no way to
patch them with the actual destinations of those labels.
Adds two functions:
ureg_get_instruction_number - to get the id of the next instruction
to be emitted
ureg_fixup_label - to patch an emitted label to point to a given
instruction number.
Need some more complex examples than u_simple_shader, so far this has
only been compile-tested.
|
| |
|
|
|
|
| |
Also ALGYRHYTHMS.
|
|
|
|
| |
Well, okay, the kernel doesn't, but that's no excuse for us! :3
|
|
|
|
| |
Still broken, but compiles cleaner, behaves better, etc.
|
|
|
|
|
| |
This name is totally subject to change if ever I need to separate R3xx
for some other reason.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59.
Turns out that we *do* need these for OQ after all. Go figure.
Conflicts:
src/gallium/winsys/drm/radeon/core/radeon_r300.h
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This prevents the driver from discarding a buffer when the whole buffer
is mapped for writing, but only a portion is effectively written.
This is a temporary fix, because WRITE shouldn't imply DISCARD.
The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout
the code, and will go only into master.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Move some fields of _EGLDriver to _EGLDisplay. It also becomes
unnecessary to pass _EGLDisplay to drivers when _eglMain is called.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The motivation is so that drivers do not need to look up and check for
bad display, context, and etc. It also becomes unnecessary for drivers
to call the link functions.
This commit makes eglapi.[ch] do the lookup and check. As a result, the
driver API is overhauled, and almost all sources and drivers need
update. The updates are mainly find and replace with human brains.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| | |
This fixes invalid values for CondStackTop, LoopStackTop, etc.
|
| | |
|
| |
| |
| |
| |
| | |
- This fixes neverball corruption.
- I'm unsure about what we're actually flushing here.
|
| | |
|
| | |
|
| |
| |
| |
| | |
The value is an enum, not a bitmask.
|
| |
| |
| |
| |
| |
| |
| | |
It's the front stencil methods that have contiguous offsets,
not the back ones.
Unfortunately the names in the header still have FRONT/BACK
reversed, so I'm using hex values until it gets updated.
|
| |
| |
| |
| | |
- We cannot assume all state objects are present when the pipe context changes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The TEX instruction is passed the first index of a contiguous
range of 4 TEMP registers that contain coordinates / LOD and,
after execution, the texel values.
It seems the first index is required to be a multiple of 4 on
some (older ?) cards.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now there is just a single, struct __GLXcontextRec, which is the
GLXContext typedef has already been defined as a pointer to. I
believe this is the intended usage, that GLX implementations should
define that struct as they require.
Merge the two previous structs into one and get rid of the
no-longer-necessary type casts and sub-classing.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The hardware expects a texture's tile mode to change with
the mipmap level.
Also, only multiply by block size once to obtain size.
|
| |
| |
| |
| |
| | |
Since we don't turn off scissors, we need to update the
stateobj when the framebuffer size changes.
|