Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: remove old bind_fragment_sampler_states() calls from blitter code | Brian Paul | 2013-10-03 | 1 | -22/+9 |
| | |||||
* | draw: remove use of old bind_fragment_sampler_states() | Brian Paul | 2013-10-03 | 2 | -82/+13 |
| | |||||
* | nouveau: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 4 | -36/+0 |
| | |||||
* | cso: remove use of old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -31/+3 |
| | |||||
* | rbug: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -53/+1 |
| | |||||
* | identity: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -41/+1 |
| | |||||
* | trace: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -75/+7 |
| | |||||
* | ilo: don't hook up old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -4/+0 |
| | |||||
* | llvmpipe: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -26/+0 |
| | |||||
* | softpipe: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -31/+0 |
| | |||||
* | clover: remove bind_compute_sampler_states() calls | Brian Paul | 2013-10-03 | 1 | -8/+6 |
| | |||||
* | gallium/tests: use pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 8 | -9/+13 |
| | |||||
* | gallium/tools: update dump_state.py to use bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -8/+3 |
| | |||||
* | nouveau: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 6 | -2/+76 |
| | |||||
* | softpipe: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+1 |
| | |||||
* | radeon: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 3 | -0/+49 |
| | |||||
* | svga: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+1 |
| | |||||
* | trace: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -28/+42 |
| | |||||
* | rbug: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+34 |
| | |||||
* | noop: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+7 |
| | |||||
* | llvmpipe: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+1 |
| | |||||
* | ilo: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+21 |
| | |||||
* | identity: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -15/+21 |
| | |||||
* | i915g: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+22 |
| | |||||
* | galahad: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -12/+18 |
| | |||||
* | clover: use pipe_context::bind_sampler_states() if non-null | Brian Paul | 2013-10-03 | 1 | -2/+7 |
| | |||||
* | vl: use pipe_context::bind_sampler_states() if non-null | Brian Paul | 2013-10-03 | 7 | -8/+49 |
| | |||||
* | util: use pipe_context::bind_sampler_states() if non-null | Brian Paul | 2013-10-03 | 1 | -6/+22 |
| | |||||
* | draw: use pipe_context::bind_sampler_states() if non-null | Brian Paul | 2013-10-03 | 2 | -7/+97 |
| | |||||
* | cso: use pipe_context::bind_sampler_states() if non-null | Brian Paul | 2013-10-03 | 1 | -21/+44 |
| | |||||
* | gallium: add pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+5 |
| | | | | | The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions. | ||||
* | r300g: rename r300_bind_sampler_states to r300_bind_fragment_sampler_states | Brian Paul | 2013-10-03 | 1 | -4/+4 |
| | |||||
* | draw: rename bind_sampler_states variables | Brian Paul | 2013-10-03 | 2 | -19/+19 |
| | | | | | Put 'fragment' in the names. In preparation for upcoming function renaming. | ||||
* | r600g: fix ínitialization of non_disp_tiling flag | Marek Olšák | 2013-10-03 | 1 | -4/+5 |
| | | | | This fixes a regression caused by e64633e8c3a5498998a45ab721bf80edca101cf5 | ||||
* | r600g,radeonsi: create aux_context last | Marek Olšák | 2013-10-03 | 3 | -2/+6 |
| | | | | This fixes a regression caused by 68f6dec32ed5eede361f76c8dbdf897652659baf. | ||||
* | r300g/swtcl: don't call draw_prepare_shader_outputs | Marek Olšák | 2013-10-03 | 1 | -1/+0 |
| | |||||
* | st/mesa: silence warning about unhandled enum in switch statement | Brian Paul | 2013-10-03 | 1 | -0/+3 |
| | |||||
* | mesa: fix make check for ARB_texture_gather | Chris Forbes | 2013-10-03 | 4 | -5/+8 |
| | | | | | | | | | | | Clean up inconsistency in enum decoration: - Use the undecorated enums where possible. - MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB remains decorated, since it has no undecorated equivalent in GL4. Signed-off-by: Chris Forbes <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70054 Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | docs: Mark off ARB_texture_gather | Chris Forbes | 2013-10-03 | 1 | -1/+1 |
| | |||||
* | i965/hsw: Apply gather4 RG32F w/a using SCS instead of shader. | Chris Forbes | 2013-10-03 | 2 | -8/+11 |
| | | | | | | | | The new surface channel select bits allow us to avoid having to recompile the shader for this workaround. Signed-off-by: Chris Forbes <[email protected]> Reviewed-and-tested-by: Kenneth Graunke <[email protected]> | ||||
* | i965: Enable ARB_texture_gather on Gen7 | Chris Forbes | 2013-10-03 | 2 | -0/+5 |
| | | | | | Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: use gather slots in the binding table for gather4. | Chris Forbes | 2013-10-03 | 2 | -4/+12 |
| | | | | | Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: Emit a second set of SURFACE_STATE for gather4 from textures. | Chris Forbes | 2013-10-03 | 3 | -8/+39 |
| | | | | | | | | | | | | | This allows us to use a different surface format for gather4, which is required for R32G32_FLOAT to work on Gen7. V4: - Only emit alternate surface state for shaders which will actually use it. - Pass a simple 'for_gather' flag rather than a function pointer. The callee can decide what w/a to apply. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: make room in the binding table for a full alternate set of surface_states | Chris Forbes | 2013-10-03 | 1 | -2/+18 |
| | | | | | | | | | | Worst-case is that *every* texunit uses a format that needs overriding. V4: Place the gather slots last, so shaders which don't use gather don't get penalized by having a huge binding table. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: Add BRW_SURFACEFORMAT_R32G32_FLOAT_LD, required for IVB gather4 w/a | Chris Forbes | 2013-10-03 | 2 | -0/+2 |
| | | | | | | | | | | | gather4 GREEN channel against a surface with format R32G32_FLOAT doesn't work correctly on IVB. w/a from bspec: - use R32G32_FLOAT_LD = 0x97 instead, for gather4 only. - select BLUE channel to read GREEN Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: w/a for gather4 green RG32F | Chris Forbes | 2013-10-03 | 4 | -0/+22 |
| | | | | | | | | | V4: Only flag quirks if there are any uses of gather in the shader, to avoid spurious recompiles just because someone happened to use RG32F. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: flag shaders which use gather4 at all | Chris Forbes | 2013-10-03 | 2 | -0/+11 |
| | | | | | Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/vs: Add support for ir_tg4 | Chris Forbes | 2013-10-03 | 2 | -2/+45 |
| | | | | | | | | | | Pretty much the same as the FS case. Channel select goes in the header, V2: Less mangling. V3: Avoid sampling at all, for degenerate swizzles. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/fs: Add support for ir_tg4 | Chris Forbes | 2013-10-03 | 2 | -3/+60 |
| | | | | | | | | | | | | | | | | | | | | Lowers ir_tg4 (from textureGather and textureGatherOffset builtins) to SHADER_OPCODE_TG4. The usual post-sampling swizzle workaround can't work for ir_tg4, so avoid doing that: * For R/G/B/A swizzles use the hardware channel select (lives in the same dword in the header as the texel offset), and then don't do anything afterward in the shader. * For 0/1 swizzles blast the appropriate constant over all the output channels instead of sampling. V2: Avoid duplicating header enabling block V3: Avoid sampling at all, for degenerate swizzles. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965: add SHADER_OPCODE_TG4 | Chris Forbes | 2013-10-03 | 6 | -2/+17 |
| | | | | | | | | | | Adds the Gen7 message IDs, a new SHADER_OPCODE_TG4 pseudo-op, and low-level support for emitting it via generate_tex(). V3: Updated for changes in master. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> |