Age | Commit message (Collapse) | Author |
|
The assumption is that all stages are the same program or that
varyings are passed between stages using built-in varyings.
|
|
|
|
New files:
pack.c - image/row packing/unpacking functions
pixeltransfer.c - pixel scale/bias/lookup functions
|
|
|
|
|
|
NOTE: this is a candidate for the 7.9 branch.
|
|
|
|
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
More optional code.
|
|
This has always been optional, and not useful.
|
|
Fixes assertion failures in fbo-alpha with a debug build of Mesa.
Bug #29781.
|
|
Most of these are just typecasting to long to match the arg type. I
don't really care too much about getting a GLsizei or whatever
appropriate type in. However, there were a number of real bugs, like
missing arguments or passing floats to integer format specifiers. My
favorite: printflike("%s, argument") is missing an argument.
|
|
See fd.o bug 29487.
NOTE: This is a candidate for the 7.8 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_context.h for texture_sample_func symbol.
|
|
Include mtypes.h for GLcontext sybmol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
s_fragprog.h
Include mtype.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
s_fragprog.c
Include s_context.h now that it is removed from s_fragprog.h.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include compiler.h for _ASMAPIP symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
s_atifragshader.h
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
s_atifragshader.c
Include s_context.h for SWcontext symbol.
|
|
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.
|
|
Include mtypes.h for GLcontext symbol.
|
|
Include mtypes.h for GLcontext symbol.
|
|
|
|
|
|
|
|
|
|
It looks like we were reading a fractional value, multiplying by an
enormous negative value, then stuffing that value into a bitfield
assuming it was already clamped. This becomes relevant for GL_ALPHA
or R/RG FBOs.
|
|
|
|
We still don't do proper min/mag filtering but this is better than just
sampling the base mipmap level all the time.
Fixes piglit depth-level-clamp test. Fixes fd.o bug 27256.
|
|
|
|
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
If the visual doesn't have an accumulation buffer, the renderbuffer
passed into _swrast_clear_accum_buffer will be NULL anyway. There is
no reason the check the visual. Moreover, the test erroneously checks
the context's visual instead of the visual of the current DrawBuffer.
With FBOs these may be different.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
In the presence of FBOs, the visual of the context may not match the,
possibly fake, visual of the current ReadBuffer. Note that the caller
of adjust_colors correctly uses the visual of the ReadBuffer.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
After all the recent color-index rendering removal,
_swrast_logicop_ci_span is no longer used anywhere.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Also adjust the bits that appear after it to fill in the gap.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
After all the recent color-index rendering removal,
_swrast_read_index_span is no longer used anywhere.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
After all the recent color-index rendering removal,
_swrast_mask_ci_span is no longer used anywhere.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
After all the recent color-index rendering removal,
_swrast_fog_ci_span is no longer used anywhere.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|