Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glcpp: Add built-in #define for GL_ARB_uniform_buffer_object. | Kenneth Graunke | 2012-07-09 | 1 | -0/+3 |
| | | | | | Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | glsl: Parser handles "#extension GL_ARB_uniform_buffer_object" | Vincent Lejeune | 2012-07-09 | 2 | -0/+3 |
| | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | glsl: Reduce a bit of extra code in the merging of layout qualifiers. | Eric Anholt | 2012-07-09 | 1 | -7/+2 |
| | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | glsl: Take advantage of the layout qualifier flags union to clean up parsing. | Eric Anholt | 2012-07-09 | 1 | -21/+7 |
| | | | | | | | | | The got_one variable was set iff one of the bits in flags.i was set. v2: Fix incorrect dropping of the ARB_conservative_depth warning. Reviewed-by: Kenneth Graunke <[email protected]> (v1) Reviewed-by: Ian Romanick <[email protected]> | ||||
* | r600g: Don't create a texture for the memory_pool during screen init | Tom Stellard | 2012-07-09 | 2 | -8/+24 |
| | | | | | | | This fixes a segfault in r600_screen_create() introduced by eb065f5d9d1159af3a88a64a7606c9b6d67dc3 Reported by tilman on irc. | ||||
* | radeon/llvm: Rename namespace from AMDIL to AMDGPU | Tom Stellard | 2012-07-09 | 25 | -360/+361 |
| | |||||
* | r600g: Update number of gprs when adding a vertex instruction | Tom Stellard | 2012-07-09 | 1 | -0/+4 |
| | |||||
* | r600g/compute: Use evergreen_cb() for binding RATs | Tom Stellard | 2012-07-09 | 5 | -70/+48 |
| | |||||
* | r600g: Add support for RATs in evergreen_cb() | Tom Stellard | 2012-07-09 | 1 | -3/+11 |
| | |||||
* | r600g: Use a texture as the underlying resource for compute_memory_pool | Tom Stellard | 2012-07-09 | 2 | -18/+37 |
| | | | | This the first step towards being able to use evergreen_cb to bind RATs. | ||||
* | r600g: Add is_rat flag to r600_resource_texture | Tom Stellard | 2012-07-09 | 1 | -0/+1 |
| | |||||
* | r600g: Add r600_context_pipe_state_emit() | Tom Stellard | 2012-07-09 | 2 | -6/+71 |
| | | | | | | | | This function is used when dispatching compute shader in order to avoid mixing compute and 3D registers in the context's dirty list. This allows the compute code to resuse 3D functions like evergreen_cb, which return a struct r600_pipe_state and still have control over when and how the register writes are emitted. | ||||
* | r600g: Add pkt_flag parameter to r600_context_block_emit_dirty() | Tom Stellard | 2012-07-09 | 3 | -3/+15 |
| | | | | | | | This allows the shader type bit to be set in the pm4 header when emitting registers for compute shaders. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | r600g/compute: Move LOOP_CONST initialization to start_compute_cs atom | Tom Stellard | 2012-07-09 | 1 | -14/+16 |
| | |||||
* | r600g: Add start_compute_cs atom to struct r600_context | Tom Stellard | 2012-07-09 | 4 | -94/+96 |
| | | | | | | | | | The start_compute_cs atom initializes some config and context registers to the values needed for running compute shaders. When a compute shader is dispatched, this atom is emitted after the start_cs_cmd atom, which initializes registers that are common to both 3D and compute. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | r600g: Add pkt_flag member to struct r600_command_buffer | Tom Stellard | 2012-07-09 | 1 | -3/+16 |
| | | | | | | | | | | Some packets require the shader type bit (bit 1) to be set when used for compute shaders. The pkt_flag will be initialized to RADEON_CP_PACKET3_COMPUTE_MODE for any struct r600_command_buffer used for dispatching compute shaders and it will be or'd against the result of the PKT3 macro when adding a new packet to a struct r600_command buffer. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | r600g: Only emit start_cs_cmd atom once for compute command streams | Tom Stellard | 2012-07-09 | 1 | -2/+0 |
| | |||||
* | r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT | Marek Olšák | 2012-07-09 | 1 | -0/+2 |
| | |||||
* | r600g: add assertions after translate_colorswap/colorformat/dbformat/texformat | Marek Olšák | 2012-07-09 | 2 | -3/+17 |
| | |||||
* | r600g: inline r600_hw_copy_region | Marek Olšák | 2012-07-09 | 1 | -21/+5 |
| | |||||
* | r600g: enable dual src blending on r7xx | Marek Olšák | 2012-07-09 | 1 | -1/+1 |
| | | | | No lockups here. | ||||
* | r600g: use depth format from pipe_surface, not pipe_resource | Marek Olšák | 2012-07-09 | 2 | -4/+4 |
| | |||||
* | r600g: use u_box_origin_2d helper function | Marek Olšák | 2012-07-09 | 1 | -10/+3 |
| | |||||
* | gallium/u_blitter: consolidate some state changes | Marek Olšák | 2012-07-09 | 1 | -32/+17 |
| | |||||
* | r600g: remove stray semicolon | Marek Olšák | 2012-07-07 | 1 | -1/+1 |
| | |||||
* | i965/fs: Invalidate live intervals after copy propagation. | Eric Anholt | 2012-07-06 | 1 | -0/+3 |
| | | | | | | | | For copy propgation, we've dropped the use of a GRF in favor of a (probably later) use of a different GRF. This definitely requires invalidating intervals. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/fs: Invalidate live intervals in passes that remove an instruction. | Eric Anholt | 2012-07-06 | 1 | -0/+6 |
| | | | | | | | | | Since live intervals are based on ip, removing an instruction trashes the intervals unless we were to go do some surgery. These happen to usually remove a use of a grf, so it's time to recalculate, anyway. Reviewed-by: Kenneth Graunke <[email protected]> NOTE: This is a candidate for the 8.0 release branch. | ||||
* | i965/vs: Move the other two src_reg/dst_reg constructors to brw_vec4.cpp. | Eric Anholt | 2012-07-06 | 2 | -43/+43 |
| | | | | Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/vs: Move class functions to brw_vec4.cpp. | Eric Anholt | 2012-07-06 | 2 | -106/+126 |
| | | | | | | | This has less impact than for the FS (4k savings), because it was partially done already, but makes things more consistent. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/fs: Move class functions from the header to .cpp files. | Eric Anholt | 2012-07-06 | 3 | -278/+326 |
| | | | | | | | Cuts compile time for brw_fs.h changes from 2.7s to .7s and reduces i965_dri.so size by 70k. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | galahad: Check that texture format is supported. | José Fonseca | 2012-07-06 | 1 | -0/+7 |
| | |||||
* | galahad: More detailed resource checks. | José Fonseca | 2012-07-06 | 2 | -19/+64 |
| | |||||
* | galahad: Fix zealous warnings. | José Fonseca | 2012-07-06 | 1 | -6/+10 |
| | |||||
* | galahad: Enumerate all methods that are missing. | José Fonseca | 2012-07-06 | 2 | -24/+49 |
| | |||||
* | galahad: Implement render_condition. | José Fonseca | 2012-07-06 | 1 | -1/+13 |
| | |||||
* | galahad: Don't implement context methods that are not implemented by the ↵ | José Fonseca | 2012-07-06 | 1 | -104/+115 |
| | | | | underlying pipe driver. | ||||
* | galahad: Use debug_printf. | José Fonseca | 2012-07-06 | 1 | -3/+5 |
| | | | | stderr is not visible on windows. | ||||
* | galahad: Silence creation messages. | José Fonseca | 2012-07-06 | 2 | -4/+0 |
| | | | | Let galahad warnings be true warnings. | ||||
* | galahad: Use reference counting when destroying the wraped objects. | José Fonseca | 2012-07-06 | 1 | -3/+2 |
| | | | | As the wrapped pipe driver may hold internal references. | ||||
* | galahad: Point to the galahad objects from the galahad sampler view. | José Fonseca | 2012-07-06 | 1 | -2/+2 |
| | | | | And not the wraped driver's objects. | ||||
* | galahad: Don't defer index buffer when it's NULL. | José Fonseca | 2012-07-06 | 1 | -16/+16 |
| | |||||
* | target-helpers: Enable debug helpers only on debug builds. | José Fonseca | 2012-07-06 | 1 | -0/+7 |
| | | | | Some of these helpers use debug_get_option, which works also on releases. | ||||
* | st/mesa: only expose ARB_shader_bit_encoding with GLSL 1.3 | Marek Olšák | 2012-07-06 | 1 | -4/+1 |
| | | | | | | I don't think it's possible or even useful to use the extension with GLSL 1.2. Reviewed-by: Brian Paul <[email protected]> | ||||
* | egl_dri2: Reorganize the EGLImage constructors to share more code | Kristian Høgsberg | 2012-07-05 | 1 | -78/+37 |
| | | | | | | | We factor out all the EGL book-keeping into dri2_create_image() and simplify the wayland case by using dupImage. Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | intel: Share common __DRIimage allocation code | Kristian Høgsberg | 2012-07-05 | 1 | -40/+19 |
| | | | | | | | We have the same switch and allocation code in two places. Signed-off-by: Kristian Høgsberg <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel: Just look up image->internal_format using _mesa_get_format_base_format | Kristian Høgsberg | 2012-07-05 | 1 | -10/+2 |
| | | | | | Signed-off-by: Kristian Høgsberg <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel: Remove unused __DRIimage::data_type field | Kristian Høgsberg | 2012-07-05 | 2 | -13/+0 |
| | | | | | Signed-off-by: Kristian Høgsberg <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | svga: whitespace fixes | Brian Paul | 2012-07-05 | 1 | -114/+90 |
| | |||||
* | Revert "mesa: #define fprintf to be __mingw_fprintf() on Mingw32" | Brian Paul | 2012-07-05 | 1 | -10/+0 |
| | | | | | | | | | This reverts commit cbffaf20e9e6154310ba68bb2b44adc37ba83bcd. Use the PRIx64 macro in the fprintf() call instead, as suggested by Dylan Noblesmith. Reviewed-by: José Fonseca <[email protected]> | ||||
* | mesa: use the PRIx64 macro for printing 64-bit hexadecimal values | Brian Paul | 2012-07-05 | 1 | -5/+6 |
| | | | | | | We'll revert the #define fprintf __mingw_fprintf change next. Reviewed-by: José Fonseca <[email protected]> |