summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-09-10NV fp parser: Add support for condition codesIan Romanick
Conditional write masks and the condition-code based KIL instruction are all supported. The specific behavior of KIL in the following shader may or may not match the behavior of other implementations: !!ARBfp1.0 TEMP GT; MOVC GT, fragment.texcoord[0]; KIL GT.x; END Should be it interpreted as 'KIL srcReg' or as 'KIL ccTest'? The current parser will interpret it as 'KIL srcReg'.
2009-09-10ARB prog lexer: Add missing #include to silence compile warningIan Romanick
2009-09-10ARB prog parser: Differentiate between used and unused names in the lexerIan Romanick
The lexer will return IDENTIFIER only when the name does not have an associated symbol. Otherwise USED_IDENTIFIER is returned.
2009-09-04NV fp parser: Support instruction and TEMP / OUTPUT sizesIan Romanick
Adds support for declaring TEMP and OUTPUT variables as 'LONG' or 'SHORT' precision. The precision specifiers are parsed, but they are currently ignored. Some support for this may be added in the future, but neither Intel hardware nor, as far as I'm aware, Radeon hardware support multiple precisions. Also adds support for instruction precision ('X', 'H', and 'R') suffixes and instruction condition code output ('C') suffix. This results in a fairly major change to the lexer. Instructions are matched with all the possible suffix strings. The suffix string are then carved off by a context (i.e., which program mode and options are set) aware parser that converts the suffixes to bits in prog_instruction. This could have been handled in the same way _SAT was originally handled in the lexer, but it would have resulted in a very large lexer with lots of opportunity for cut-and-paste errors.
2009-09-04ARB prog parser: Add new constructor for asm_instructionIan Romanick
The new constructor copies fields from the prog_instruction that the parser expects the lexer to set.
2009-09-03NV fp parser: Add support for absolute value operator on instruction operandsIan Romanick
2009-09-03Enable GL_NV_fragment_program_option for software renderingIan Romanick
At this point the extension is not fully implemented.
2009-09-03NV fp parser: Support new scalar constant behaviorIan Romanick
ARBfp requires scalar constants have a '.x' suffix, but NVfp_option does not. This shows up with instructions that require a scalar parameter (e.g., COS).
2009-09-01NV fp parser: Parse TXD instructionIan Romanick
2009-08-31NV fp lexer: Add new opcodesIan Romanick
2009-08-31NV fp: Parse 'OPTION NV_fragment_program' in ARB assembly shadersIan Romanick
2009-08-31NV fp: Add tracking for NV_fragment_program_optionIan Romanick
2009-09-01radeon: Fix null pointer reference in debug system if no context is bind.Pauli Nieminen
2009-08-31r600: Add more trace debug output to rendering pipeline.Pauli Nieminen
2009-08-31radeon: Add support for indenting debug output.Pauli Nieminen
Indetion can be used to make it easier to read debug code when sections of debug output are indented.
2009-08-31radeon: Add comment warning about not choosing critical debug level.Pauli Nieminen
2009-08-31radeon: Change default debug level to verbose.Pauli Nieminen
Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
2009-08-31r300: Convert to shared debug code.Pauli Nieminen
2009-08-31r200: Convert r200 to use new style debug code.Pauli Nieminen
Only very few places where realy converted so there isa lot of to do.
2009-08-31r600: Convert to shared debug code and add a few new debug messages.Pauli Nieminen
There is only a few functions that have debugging enabled now.
2009-08-31radeon: Make OQ to use new style debugging.Pauli Nieminen
2009-08-31radeon: Add gcc attribute to enable pritnf format warnings.Pauli Nieminen
2009-08-31r100: Use shared debug code.Pauli Nieminen
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
2009-08-31radeon: Add common debugging functions.Pauli Nieminen
These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight.
2009-08-31mesa: added const qualifiers, move local varBrian Paul
2009-08-31mesa: fix saturation logic in emit_texenv()Brian Paul
We need to clamp/saturate after each texenv stage, not just the last one. Fixes glean texEnv failure for softpipe (and probably other fragment program- based drivers).
2009-08-31mesa: fix 32bit cross compilation on a 64bit machineMarc Dietrich
When cross compiling on a 64bit machine, gen_matypes.c is build for the host machine (64bit) but must generates code for the target machine (32bit). This causes wrong offsets all over the place and crashes googleearth on my machine. Solution is to add -m32 when cross compiling. Attached patch is compatible with linux-x86-32 and autoconf based builds.
2009-08-31r600: add missing r7xx pci idAlex Deucher
2009-08-31mesa: set additional fields in _mesa_buffer_map_range()Brian Paul
2009-08-31mesa: set Length/Offset fields in _mesa_buffer_map()Brian Paul
2009-08-31mesa: additional assertions for ctx->Driver.UnmapBuffer()Brian Paul
The Pointer, Offset and Lenght fields should be cleared by the driver function since ctx->Driver.Unmap() may be called from VBO code, etc.
2009-08-31intel: clear buffer fields in intel_bufferobj_unmap()Brian Paul
2009-08-31mesa: new assertions, comments about buffer mappingBrian Paul
Since ctx->Driver.MapBuffer() and ctx->Driver.MapBufferRange() may be called from other places in Mesa (such as VBO) it's important that the driver callbacks set all the buffer object fields properly (Pointer, Offset, Length, etc). Add assertions to make sure that the driver does that.
2009-08-31st/mesa: fix obj->Pointer offset in st_bufferobj_map_range()Brian Paul
This fixes a bunch of gallium regressions since commit 8096aa521369c3bcf5226c060efa6dd06e48ddc8
2009-08-30swrast: minor code consolidationBrian Paul
2009-08-30mesa: consolidate texture-related code in meta.cBrian Paul
Also, allow using texture rectangles, NPOT textures or regular POT textures (preferred in that order).
2009-08-30intel: use more efficient loop over buffersBrian Paul
2009-08-30mesa: avoid redundant viewport changes in meta codeBrian Paul
2009-08-29i965: Fix segfault with ARB_oq CheckQuery when results are already fetched.Eric Anholt
2009-08-29i965: Support PROGRAM_ENV_PARAMs in brw_vs_emit.cEric Anholt
2009-08-29r300: Disable threshold register for KMS.Pauli Nieminen
Kernel side doesn't have required register in safe list so can't send it kernel.
2009-08-29r300: Swtcl prediction was still missing scissors.Pauli Nieminen
All that state stuff should really be in state atoms :/
2009-08-29r300: Add missing pre_emit_count to swtcl state size prediction.Pauli Nieminen
2009-08-29mesa: Update sconscript for new ARB/FP assembler.José Fonseca
2009-08-28Put 'extern' first on the line to silence GCC warnings.Ian Romanick
2009-08-28i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range.Eric Anholt
This looks like it's a small win on blender.
2009-08-28vbo: Fix array pointer calculation for MapBufferRange-mapped vertex data.Eric Anholt
We would end up with the offset from the start of the mapping rather than the offset from the start of the buffer.
2009-08-28intel: Add support for GL_ARB_map_buffer_range.Eric Anholt
Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use.
2009-08-28i965: Implement ARB_oq CheckQuery in the intended way.Eric Anholt
Previously we blocked because I hadn't added the libdrm function. Now it's there, so update your libdrm.
2009-08-29radeon: Fix swtcl emit pediction.Pauli Nieminen
Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.