Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Fix the prototype of textureProjGradOffset(sampler2DShadow) | Eric Anholt | 2012-04-16 | 1 | -1/+1 |
| | | | | | | | Indirectly caught by Ken's review of my GLSL 1.40 changes where I copy-and-pasted this line. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Mark [iu]sampler{Buffer,2DRect}as reserved in GLSL 1.40. | Eric Anholt | 2012-04-16 | 2 | -2/+14 |
| | | | | | | | | | The non-integer versions were already reserved in 1.30, but apparently these were forgotten. Fixes piglit glsl-1.40/compiler/reserved/ Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Add textureSize(*samplerBuffer) support. | Eric Anholt | 2012-04-16 | 3 | -0/+9 |
| | | | | | | Fixes the corresponding new tests in piglit. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Fix comment typo in 1.40 work. | Eric Anholt | 2012-04-16 | 1 | -1/+1 |
| | | | | Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa: Remove dead _mesa_sizeof_glsl_type(). | Eric Anholt | 2012-04-16 | 2 | -63/+0 |
| | | | | Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | gtest: Don't actually install a library. | Eric Anholt | 2012-04-16 | 1 | -1/+1 |
| | | | | | | | | | The whole point of importing it was that you're not supposed to install this library. Reviewed-by: Matt Turner <[email protected]> Fixes: https://bugs.gentoo.org/show_bug.cgi?id=411825 Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | svga: add case for PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS | Brian Paul | 2012-04-16 | 1 | -0/+2 |
| | |||||
* | autoconf: add AM_PROG_CC_C_O | Dylan Noblesmith | 2012-04-16 | 1 | -0/+1 |
| | | | | | | | | | | | Prevents this error with Automake 1.9: src/gallium/drivers/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac' autoreconf: automake failed with exit status: 1 Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | nvc0: fix nve4 linear copies | Christoph Bumiller | 2012-04-16 | 1 | -1/+2 |
| | |||||
* | targets/xvmc-nouveau: fix accidental hardcoded include path | Christoph Bumiller | 2012-04-15 | 1 | -1/+1 |
| | | | | 5b0cd37324555638661a4a70c2bdf49eeebe876c wasn't meant to be pushed. | ||||
* | nv50: use correct semantic map value for undefined PointSize output | Christoph Bumiller | 2012-04-15 | 1 | -7/+8 |
| | |||||
* | targets/xvmc-nouveau: add libdrm include path | Christoph Bumiller | 2012-04-15 | 1 | -0/+2 |
| | |||||
* | nv30: init sample_mask to some default value at context creation time | Ben Skeggs | 2012-04-15 | 1 | -0/+1 |
| | | | | Fixes demos/lodbias. | ||||
* | nv30: fix some sifm transfer issues | Ben Skeggs | 2012-04-15 | 1 | -3/+2 |
| | |||||
* | scons: Fix egl-static build due to conflicting symbols. | José Fonseca | 2012-04-15 | 1 | -2/+1 |
| | | | | | | radeonsi and r600 have duplicate symbols, so it's not possible to statically link both. Remove the newcomer, radeonsi, until duplicate symbols are fixed. | ||||
* | nvc0: add initial support for nve4+ (Kepler) chipsets | Christoph Bumiller | 2012-04-15 | 28 | -159/+799 |
| | | | | | | | | | Most things that work on Fermi should work on Kepler too. There are a few performance optimizations left to do, like better placement of texture barriers and adding scheduling data to the shader instructions (without them, a thread group will be masked for 32 cycles after each single instruction issue). | ||||
* | radeonsi: s/DUAL_SOURCE_BLEND/MAX_DUAL_SOURCE_RENDER_TARGETS/ | Tom Stellard | 2012-04-14 | 1 | -1/+1 |
| | | | | Fixes build broken by commit 0d29fb017bce0968240ae875af4b3702c2cd46ef | ||||
* | nv50/ir/opt: extend handleCVT for nv50's SET u32 to f32 chain | Christoph Bumiller | 2012-04-14 | 1 | -1/+17 |
| | |||||
* | nv50/ir: print interpolation mode | Christoph Bumiller | 2012-04-14 | 1 | -0/+22 |
| | |||||
* | nv50: update FP linkage state on one/two-sided lighting switch | Christoph Bumiller | 2012-04-14 | 2 | -1/+12 |
| | |||||
* | nv50: delete old shader compiler files | Christoph Bumiller | 2012-04-14 | 7 | -7252/+0 |
| | |||||
* | nv50: hook up to new shader code generator | Christoph Bumiller | 2012-04-14 | 10 | -664/+262 |
| | |||||
* | nv50/ir: import nv50 target | Christoph Bumiller | 2012-04-14 | 13 | -220/+2476 |
| | |||||
* | nv50/ir: fix off-by-ones in CSE and nvc0 insnCanLoad | Christoph Bumiller | 2012-04-14 | 2 | -2/+2 |
| | |||||
* | nv50/ir/tgsi: generate UCPs with actual outputs instead of SVs | Christoph Bumiller | 2012-04-14 | 1 | -4/+20 |
| | | | | | gl_ClipDistance is treated the same way, this is just nicer and easier assign slots for them on nv50. | ||||
* | nv50/ir: Fix type of the instruction created by mkCmp() for dst in FILE_FLAGS. | Francisco Jerez | 2012-04-14 | 1 | -1/+2 |
| | |||||
* | nv50/ir: fix Instruction::isCommutationLegal for WAW | Christoph Bumiller | 2012-04-14 | 1 | -4/+14 |
| | |||||
* | nv50/ir/opt: Add isOptSupported() check in logical arith optimization. | Francisco Jerez | 2012-04-14 | 1 | -8/+5 |
| | |||||
* | nv50/ir/ra: Fix live set propagation in the secondary passes of buildLiveSets(). | Francisco Jerez | 2012-04-14 | 1 | -3/+3 |
| | |||||
* | nv50/ir/opt: don't regard OP_WRSV as dead code | Christoph Bumiller | 2012-04-14 | 1 | -1/+2 |
| | |||||
* | nv50/ir: add isUniform query to Values | Christoph Bumiller | 2012-04-14 | 2 | -0/+24 |
| | |||||
* | nv50/ir: rewrite the register allocator as GCRA, with spilling | Christoph Bumiller | 2012-04-14 | 11 | -418/+1475 |
| | | | | | This is more flexible than the linear scan, and we don't need the separate allocation pass for constrained values anymore. | ||||
* | nv50/ir/tgsi: only export x-component of PSIZE | Christoph Bumiller | 2012-04-14 | 1 | -1/+5 |
| | |||||
* | nvc0: fix emission of 3rd src in SET_AND,OR,XOR | Christoph Bumiller | 2012-04-14 | 1 | -0/+3 |
| | |||||
* | nv50/ir: Fix BuildUtil::mkSelect and mkClobber | Francisco Jerez | 2012-04-14 | 1 | -6/+2 |
| | |||||
* | nv50/ir: fix reg file conflicts with undefined-value placeholders | Christoph Bumiller | 2012-04-14 | 1 | -10/+19 |
| | |||||
* | nv50/ir/opt: silence warning (int < Elements() signedness) | Christoph Bumiller | 2012-04-14 | 1 | -1/+1 |
| | |||||
* | nv50/ir/opt: fix combineSt access to wrong instruction | Christoph Bumiller | 2012-04-14 | 1 | -1/+1 |
| | |||||
* | nv50/ir/opt: another insn NULL check in phi elimination | Christoph Bumiller | 2012-04-14 | 1 | -0/+2 |
| | |||||
* | nv50/ir/ssa: Take into account function inputs and outputs. | Francisco Jerez | 2012-04-14 | 1 | -2/+30 |
| | |||||
* | nv50/ir: Clean up before calculating instruction ordering for a new function. | Francisco Jerez | 2012-04-14 | 2 | -0/+16 |
| | |||||
* | nv50/ir/ra: Allocate registers for function arguments. | Francisco Jerez | 2012-04-14 | 1 | -0/+6 |
| | |||||
* | nv50/ir: Take into account function args in the live range calculation code. | Francisco Jerez | 2012-04-14 | 2 | -3/+28 |
| | |||||
* | nv50/ir/ra: Use matching physical regs for function args in caller and callee. | Francisco Jerez | 2012-04-14 | 1 | -6/+83 |
| | |||||
* | nv50/ir/tgsi: Infer function inputs/outputs. | Francisco Jerez | 2012-04-14 | 2 | -0/+87 |
| | | | | | | | Edit: Don't do it for the main function of (graphics) shaders, its inputs and outputs always go through TGSI_FILE_INPUT/OUTPUT. This prevents all TEMPs from counting as live out and reduces register pressure. | ||||
* | nv50/ir/tgsi: Replace the inlining logic with proper function calls. | Francisco Jerez | 2012-04-14 | 5 | -68/+82 |
| | |||||
* | nv50/ir: Decouple DataArray from the dictionary that maps locations to values. | Francisco Jerez | 2012-04-14 | 4 | -223/+236 |
| | | | | | | | | | | | The point is to keep an independent dictionary for each function. The array that was being used as dictionary has been converted into a "bimap" for two different reasons: first, because having an almost empty instance of an array with as many entries as registers there are in the program, once for every function, would be wasteful, and second, because we want to be able to map Value pointers back to locations at some point. | ||||
* | nv50/ir/opt: don't delete instruction in removeFlow before its last use | Christoph Bumiller | 2012-04-14 | 1 | -2/+2 |
| | |||||
* | nv50/ir/opt: check BB equality before instruction ordering in CSE | Christoph Bumiller | 2012-04-14 | 1 | -1/+1 |
| | |||||
* | nv50/ir/opt: don't copy-propagate cond MOVs or MOVs to other reg files | Christoph Bumiller | 2012-04-14 | 1 | -0/+4 |
| | | | | | We've never encountered the latter on nvc0, but on nv50 we have moves between GPRs and address regs. |