Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | nvc0: fix exposing of metric-issue_slots for SM21/SM30 | Samuel Pitoiset | 2016-05-03 | 1 | -2/+22 | |
| | | | | | | | | | This is most likely a copy-paste error when I reworked this area few weeks ago. For SM20, metric-issue_slots is equal to inst_issued because there is only one pipeline, so the metric is not exposed there. Signed-off-by: Samuel Pitoiset <[email protected]> Reported-by: Karol Herbst <[email protected]> | |||||
* | mesa/objectlabel: handle NULL src string | Mark Janes | 2016-05-03 | 1 | -3/+4 | |
| | | | | | | | | | | This prevents a crash when a NULL src is passed with a non-NULL length. fixes: dEQP-GLES31.functional.debug.object_labels.query_length_only Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95252 Signed-off-by: Mark Janes <[email protected]> Reviewed-by: Dave Airlie <[email protected]> | |||||
* | glsl: subroutine types cannot be used in constructors. | Dave Airlie | 2016-05-04 | 1 | -0/+6 | |
| | | | | | | | | This fixes two of the cases in GL43-CTS.shader_subroutine.subroutines_not_allowed_as_variables_constructors_and_argument_or_return_types Reviewed-by: Iago Toral Quiroga <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | |||||
* | glsl: resource is a reserved keyword in GLSL 4.20 as well | Dave Airlie | 2016-05-04 | 1 | -1/+1 | |
| | | | | | | | | | resource just appears in GLSL 4.20 without any fanfare. Fixes GL43-CTX.CommonBugs.CommonBug_ReservedNames Reviewed-by: Iago Toral Quiroga <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | |||||
* | gallium,utils: Fix trivial sign compare warnings | Jan Vesely | 2016-05-03 | 8 | -21/+21 | |
| | | | | | | | Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Jakob Sinclair <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> | |||||
* | anv: fix hang during generation of dev_icd.json. | Knut Andre Tidemann | 2016-05-03 | 1 | -1/+1 | |
| | | | | | Fixes: b370ec7c76d ("anv: tweak the %.json rule") Reviewed-by: Emil Velikov <[email protected]> | |||||
* | swrast: Add texfetch_funcs entries for astc 3d formats | Anuj Phogat | 2016-05-03 | 1 | -1/+22 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Enable translation between astc 3d gl formats and mesa formats | Anuj Phogat | 2016-05-03 | 1 | -0/+80 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Handle astc 3d formats in _mesa_get_compressed_formats() | Anuj Phogat | 2016-05-03 | 1 | -0/+29 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Handle astc 3d formats in _mesa_base_tex_format() | Anuj Phogat | 2016-05-03 | 1 | -2/+4 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Account for astc 3d formats in _mesa_is_astc_format() | Anuj Phogat | 2016-05-03 | 1 | -3/+13 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add a helper function is_astc_3d_format() | Anuj Phogat | 2016-05-03 | 1 | -0/+32 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add the missing defines for GL_OES_texture_compression_astc | Anuj Phogat | 2016-05-03 | 1 | -0/+23 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Align the values of #define's in glheader.h | Anuj Phogat | 2016-05-03 | 1 | -29/+29 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add OES_texture_compression_astc to extension table and gl_extensions | Anuj Phogat | 2016-05-03 | 2 | -0/+2 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add entries for astc 3d formats initializing struct gl_format_info | Anuj Phogat | 2016-05-03 | 1 | -0/+21 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add mesa formats for astc 3d formats | Anuj Phogat | 2016-05-03 | 1 | -0/+21 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | glapi: Update dispatch XML files for OES_texture_compression_astc.xml | Anuj Phogat | 2016-05-03 | 3 | -0/+64 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Account for block depth in _mesa_format_image_size() | Anuj Phogat | 2016-05-03 | 1 | -21/+23 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Handle 3d block sizes in _mesa_compute_compressed_pixelstore | Anuj Phogat | 2016-05-03 | 1 | -3/+3 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Handle 3d block sizes in teximage error checks | Anuj Phogat | 2016-05-03 | 1 | -6/+13 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Handle 3d block sizes in getteximage error checks | Anuj Phogat | 2016-05-03 | 1 | -4/+17 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add an assert for BlockDepth in _mesa_get_format_block_size() | Anuj Phogat | 2016-05-03 | 1 | -0/+3 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add a helper function to query 3D block sizes | Anuj Phogat | 2016-05-03 | 2 | -0/+25 | |
| | | | | | Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa: Add block depth field in struct gl_format_info | Anuj Phogat | 2016-05-03 | 4 | -274/+279 | |
| | | | | | | | This will be later required for 3D ASTC formats. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> | |||||
* | mesa/copyimage: make sure number of samples match. | Dave Airlie | 2016-05-03 | 1 | -0/+14 | |
| | | | | | | | | | This fixes GL43-CTS.copy_image.samples_missmatch which otherwise asserts in the radeonsi driver. Reviewed-by: Anuj Phogat <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | |||||
* | mesa/objectlabel: don't do memcpy if bufSize is 0 (v2) | Dave Airlie | 2016-05-03 | 1 | -0/+5 | |
| | | | | | | | | | | This prevents GL43-CTS.khr_debug.labels_non_debug from memcpying all over the stack and crashing. v2: actually fix the test. Reviewed-by: Alejandro Piñeiro <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | |||||
* | mesa/textureview: move error checks up higher | Dave Airlie | 2016-05-03 | 1 | -24/+26 | |
| | | | | | | | | | | | | GL43-CTS.texture_view.errors checks for GL_INVALID_VALUE here but we catch these problems in the dimensionsOK check and return the wrong error value. This fixes: GL43-CTS.texture_view.errors. Reviewed-by: Anuj Phogat <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | |||||
* | gallium/radeon: remove stencil_tile_split from metadata | Marek Olšák | 2016-05-02 | 3 | -7/+0 | |
| | | | | | | | | this is a leftover from the days when depth-stencil buffers were allocated by the DDX Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | gallium/radeon: remove tile_mode_array_valid flags | Marek Olšák | 2016-05-02 | 4 | -8/+0 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | winsys/amdgpu: pass PIPE_CONFIG to addrlib on texture import | Marek Olšák | 2016-05-02 | 3 | -0/+3 | |
| | | | | | | | This hasn't been needed, but I think we should set it. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | winsys/amdgpu: read NUM_BANKS from buffer metadata | Marek Olšák | 2016-05-02 | 3 | -21/+3 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: remove unused tile mode getters | Marek Olšák | 2016-05-02 | 2 | -157/+2 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: just read tile mode arrays in SDMA setup | Marek Olšák | 2016-05-02 | 1 | -51/+28 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: just read tile mode arrays in SI DMA setup | Marek Olšák | 2016-05-02 | 1 | -33/+21 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: just read tile mode arrays in DB setup | Marek Olšák | 2016-05-02 | 1 | -36/+19 | |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | gallium/radeon: add radeon_surf::macro_tile_index | Marek Olšák | 2016-05-02 | 3 | -0/+20 | |
| | | | | | | | for indexing cik_macrotile_mode_array Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | winsys/radeon: drop support for kernels lacking tile mode array queries | Marek Olšák | 2016-05-02 | 1 | -6/+14 | |
| | | | | | | | | | | This will allow us to simplify a lot of code around tiling. Kernel 3.10 is required for SI support. Kernel 3.13 is required for CIK support. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | st/mesa: fix blit-based GetTexImage for non-finalized textures | Marek Olšák | 2016-05-02 | 1 | -1/+2 | |
| | | | | | | | | This fixes getteximage-depth piglit failures on radeonsi. Cc: 11.1 11.2 <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | winsys/radeon: count buffer size only once | Marek Olšák | 2016-05-02 | 1 | -2/+2 | |
| | | | | | Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | winsys/amdgpu: count buffer size only once | Marek Olšák | 2016-05-02 | 1 | -2/+2 | |
| | | | | | Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | winsys/amdgpu: loosen up requirements for how much memory IBs can use | Marek Olšák | 2016-05-02 | 1 | -4/+10 | |
| | | | | | | | ported from winsys/radeon. Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | radeonsi: when parsing dmesg, skip empty lines | Marek Olšák | 2016-05-02 | 1 | -0/+3 | |
| | | | | | Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | radeonsi: use the hw MSAA resolving if formats are compatible | Marek Olšák | 2016-05-02 | 1 | -1/+2 | |
| | | | | | | | This allows resolving RGBA into RGBX. This should improve HL2 Lost Coast performance. Reviewed-by: Nicolai Hähnle <[email protected]> | |||||
* | nv50,nvc0: re-bind old compute state after reading MP perf counters | Samuel Pitoiset | 2016-05-02 | 2 | -0/+4 | |
| | | | | | | | | This might be useful to avoid breaking the current compute state when monitoring MP perf counters because we use a compute kernel to read out those counters. This has been initially suggested by Ilia Mirkin. Signed-off-by: Samuel Pitoiset <[email protected]> | |||||
* | nir: make lower_clamp_color pass work after lower i/o | Rob Clark | 2016-05-02 | 1 | -4/+18 | |
| | | | | | | | Kinda important to work with tgsi_to_nir, which generates nir which already has i/o lowered. Signed-off-by: Rob Clark <[email protected]> | |||||
* | vc4: Use NIR lowering for sRGB decode. | Eric Anholt | 2016-05-02 | 2 | -40/+3 | |
| | | | | | This should get us the same decode code generated, but with a lot less custom code in the driver. | |||||
* | vc4: Just use NIR lowering for texture projection. | Eric Anholt | 2016-05-02 | 1 | -15/+3 | |
| | | | | | This means doing Newton-Raphson on the RCP, but it's probably actually a good thing to be accurate on. | |||||
* | vc4: Scalarize phi nodes as well. | Eric Anholt | 2016-05-02 | 1 | -0/+1 | |
| | | | | | This makes fewer programs with loops assertion fail, replacing them with the rendering failure warning. | |||||
* | vc4: Add whitespace after each program stage dump. | Eric Anholt | 2016-05-02 | 2 | -0/+3 | |
| | | | | | In particular it's been hard to find the point where we switch from dumping pre-optimization QIR and post-optimization QIR. |