| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is required in case set_vertex_buffers is not called again.
|
| |
|
| |
|
|
|
|
|
| |
Core mesa has gained support for GL_ARB_ES2_compatibility. Make GLES
generated dispatch table use them.
|
|
|
|
|
|
| |
Share more code between windows and non-windows platforms. Check
env['x11'] for X11 and add env['X11_LIBS'] to LIBS. Add ws_wrapper for
i965g.
|
|
|
|
| |
Fix undefined symbol wrapper_sw_winsys_dewrap_pipe_screen.
|
|
|
|
| |
Fixes piglit arb_es2_compatibility-shadercompiler
|
|
|
|
| |
Fixes piglit arb_es2_compatibility-maxvectors.
|
|
|
|
|
| |
These are ARB_ES2_compatibility float variants of the core double
entrypoints. Fixes arb_es2_compatibility-depthrangef.
|
| |
|
|
|
|
| |
Maybe preprocess() should return a bool.
|
|
|
|
|
|
|
|
|
|
| |
Fixes these MSVC errors.
ir_to_mesa.cpp(2644) : error C2057: expected constant expression
ir_to_mesa.cpp(2644) : error C2466: cannot allocate an array of constant size 0
ir_to_mesa.cpp(2644) : error C2133: 'acp' : unknown size
ir_to_mesa.cpp(2646) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
ir_to_mesa.cpp(2709) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
ir_to_mesa.cpp(2718) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
|
|
|
|
|
| |
Fixes no-op dispatch warning in piglit
arb_es2_compatibility-releaseshadercompiler.c.
|
|
|
|
|
|
|
|
| |
We don't have all of the features of this extension hooked up yet, but
the consensus yesterday was that since those features are things that
we should also be supporting in our ES2 implementation, claiming ES2
here too doesn't make anything worse and will make incremental
improvement through piglit easier.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
|
| |
needed for asic specific opcodes
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
| |
Also removed unnecessary semicolons.
|
| |
|
|
|
|
|
|
| |
This code should never have been triggered, but I often did anyway
when I disabled optimization passes during debugging, then spent my
time debugging that this code doesn't work.
|
|
|
|
| |
No effect, since it was called before live intervals were calculated.
|
|
|
|
|
|
| |
The comment of "this is just like teximages except for..." is a pretty
good clue that we're handling this wrong. By just using the teximage
code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
|
|
|
|
|
|
|
|
| |
This catches more opportunities than the prog_optimize.c code on
openarena's fixed function shaders turned to GLSL, mostly due to
looking at multiple source instructions for copy propagation
opportunities. It should also be much more CPU efficient than
prog_optimize.c's code.
|
| |
|
|
|
|
|
|
| |
The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was
introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the
macro is undefined. Disable this case to fix the build for now.
|
| |
|
| |
|
|
|
|
| |
Fix a copy-and-paste error in a4a38dcf61f141297a083ccac217200947d57b0d.
|
|
|
|
| |
dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d.
|
|
|
|
|
|
|
| |
Until we get the EXT_framebuffer_sRGB extension we should bind the sRGB
formats for FBO as linear.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
| |
Pointed out by Brian.
|
|
|
|
|
| |
OES_standard_derivatives must be manually disabled for i915 because Mesa
enables it by default.
|
|
|
|
|
|
|
|
| |
Add a bit in struct gl_extensions for OES_standard_derivatives, and enable
the bit by default. Advertise the extension only if the bit is enabled.
Previously, OES_standard_derivatives was advertised in GLES2 contexts
if ARB_framebuffer_object was enabled.
|
|
|
|
| |
Fixes SCons build.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'varying'
The specs that add 'layout' require the use of 'in' or 'out'.
However, a number of implementations, including Mesa, shipped several
of these extensions allowing the use of 'varying' and 'attribute'.
For these extensions only a warning is emitted.
This differs from the behavior of Mesa 7.10. Mesa 7.10 would only
accept 'attribute' with 'layout(location)'. This behavior was clearly
wrong. Rather than carrying the broken behavior forward, we're just
doing the correct thing.
This is related to (piglit) bugzilla #31804.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
|
|
|
|
|
|
|
|
|
| |
All of the extensions that add the 'layout' keyword also enable (and
required) the use of 'in' and 'out' with shader globals.
This is related to (piglit) bugzilla #31804.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
|
|
|
|
| |
Hairy stuff. Don't know how to do it better though.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Point smoothing requires rasterization rules to be set to OGL.
Sorry for the extra noise caused by the header update.
|
|
|
|
|
|
|
|
| |
When use_spoken is true, istart (the first vertex of this segment) is
replaced by i0 (the spoken vertex of the fan). There are still icount
vertices.
Thanks to Brian Paul for spotting this.
|
| |
|
| |
|