- 04 Feb, 2014 1 commit
-
-
Marek Olšák authored
This can be derived from the shader caps. All GPUs from ATI/AMD, NVIDIA, and INTEL have separate texture slots for each shader stage.
-
- 23 Jan, 2014 1 commit
-
-
Marek Olšák authored
If any driver doesn't support this, it can use a blit after resolving the samples. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 17 Jan, 2014 1 commit
-
-
Jose Fonseca authored
Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/alanh@tungstengraphics.com/alanh@vmware.com/ s/jens@tungstengraphics.com/jowen@vmware.com/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g s/keithw\?@tungstengraphics.com/keithw@vmware.com/g s/michel@tungstengraphics.com/daenzer@vmware.com/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/zack@tungstengraphics.com/zackr@vmware.com/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 12 Dec, 2013 1 commit
-
-
Marek Olšák authored
Required for glClearBuffer, which only clears one colorbuffer attachment. Example: If the first colorbuffer is float and the second one is int: pipe->clear(pipe, PIPE_CLEAR_COLOR0, float_clear_color, ...); pipe->clear(pipe, PIPE_CLEAR_COLOR1, int_clear_color, ...); This doesn't need any driver changes yet, because all drivers just use: if (flags & PIPE_CLEAR_COLOR) .. The drivers which support GL 3.0 will have to implement it properly though.
-
- 03 Dec, 2013 1 commit
-
-
Marek Olšák authored
-
- 28 Nov, 2013 1 commit
-
-
Roland Scheidegger authored
Ever since introducing separate sampler and sampler view max this was really missing. Every driver but llvmpipe reports the same number as number of samplers for now, so nothing should break. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 25 Oct, 2013 1 commit
-
-
Ilia Mirkin authored
This CAP will determine whether ARB_framebuffer_object can be enabled. The nv30 driver does not allow mixing swizzled and linear zsbuf/cbuf textures. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
- 06 Sep, 2013 1 commit
-
-
Axel Davy authored
gallium, intel: Implements new __DRI_IMAGE_USE_LINEAR and PIPE_BIND_LINEAR flags to enforce no tiling. Signed-off-by:
Axel Davy <axel.davy@ens.fr>
-
- 22 Jul, 2013 1 commit
-
-
Tom Stellard authored
Cc: mesa-stable@lists.freedesktop.org [ Francisco Jerez: Fix "PIPE_ENDIAN_SMALL" in the documentation, define PIPE_ENDIAN_NATIVE. ]
-
- 02 Jul, 2013 1 commit
-
-
Marek Olšák authored
Not needed with do_dead_builtin_varyings. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 25 May, 2013 1 commit
-
-
Zack Rusin authored
Gallium supported only a single viewport/scissor combination. This commit changes the interface to allow us to add support for multiple viewports/scissors. Signed-off-by:
Zack Rusin <zackr@vmware.com> Reviewed-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by: José Fonseca<jfonseca@vmware.com> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 11 May, 2013 1 commit
-
-
Marek Olšák authored
v2: fix typo 65535 -> 65536 Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 18 Apr, 2013 1 commit
-
-
Christoph Bumiller authored
This is the only sane solution for nv50 and nvc0 (really, trust me), but since on other hardware the border colour is tightly coupled with texture state they'd have to undo the swizzle, so I've added a cap. The dependency of update_sampler on the texture updates was introduced to avoid doing the apply_depthmode to the swizzle twice. v2: Moved swizzling helper to u_format.c, extended the CAP to provide more accurate information.
-
- 03 Apr, 2013 1 commit
-
-
Christoph Bumiller authored
Reviewed-by:
Marek Olšák <maraeo@gmail.com>
-
- 26 Mar, 2013 1 commit
-
-
Marek Olšák authored
The pipe query interface is reused. The list of available queries can be obtained using pipe_screen::get_driver_query_info. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 23 Mar, 2013 1 commit
-
-
Marek Olšák authored
The blit-based paths for TexImage, GetTexImage, and ReadPixels aren't very fast with software rasterizer. Now Gallium drivers have the ability to turn them off. Reviewed-by:
Brian Paul <brianp@vmware.com> Tested-by:
Brian Paul <brianp@vmware.com>
-
- 20 Mar, 2013 1 commit
-
-
Christoph Bumiller authored
This makes it possible to identify gl_TexCoord and gl_PointCoord for drivers where sprite coordinate replacement is restricted. The new PIPE_CAP_TGSI_TEXCOORD decides whether these varyings should be hidden behind the GENERIC semantic or not. With this patch only nvc0 and nv30 will request that they be used. v2: introduce a CAP so other drivers don't have to bother with the new semantic v3: adapt to introduction gl_varying_slot enum
-
- 04 Feb, 2013 1 commit
-
-
Brian Paul authored
The glsl-to-tgsi translater will emit SQRT to implement GLSL's sqrt() and distance() functions if the PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED query says it's supported by the driver. Otherwise, sqrt(x) is implemented with x*rsq(x). The problem with this is sqrt(0) must be handled specially because rsq(0) might be Inf/NaN/undefined (and then 0*rsq(0) is Inf/Nan/undefined). In the glsl-to-tgsi code we use an extra CMP to check if x is zero and then replace the result of x*rsq(x) with zero. In the end, this makes sqrt() generate much more reasonable code for drivers that can do square roots. Note that many of piglit's generated shader tests use the GLSL distance() function.
-
- 30 Jan, 2013 1 commit
-
-
Christoph Bumiller authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 15 Jan, 2013 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 04 Jan, 2013 1 commit
-
-
Marek Olšák authored
Usage with pipe_context: pipe->flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME); Usage with st_context_iface: st->flush(st, ST_FLUSH_END_OF_FRAME, NULL); The flag is only a hint for drivers. Radeon will use it for buffer eviction heuristics in the kernel (e.g. for queries like how many frames have passed since a buffer was used). The flag is currently only generated by st/dri on SwapBuffers. Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Stéphane Marchesin <marcheu@chromium.org>
-
- 20 Dec, 2012 1 commit
-
-
José Fonseca authored
To better reflect what it is being advertised. Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 08 Dec, 2012 1 commit
-
-
Dave Airlie authored
this just adds the define to the header. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 09 Nov, 2012 1 commit
-
-
Dave Airlie authored
This just adds the texture target and capability along with 3 new opcodes required to support this extension. As this extension requires some texture opcodes with samp + 5 args, we need to use another src register, this is only required for TEX, TXL and TXB opcodes to implement this spec. TEX2 is required for shadow cube map arrays TXL2 is required for cube map array sampler + explicit lod TXB2 is required for cube map array sampler + lod bias Reviewed-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 31 Oct, 2012 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com> v2: update relnotes-9.1 v3: use align_malloc and align_free for malloced buffers in r300g v4: document the new CAP in the docs
-
- 11 Oct, 2012 1 commit
-
-
Marek Olšák authored
"get_transfer + transfer_map" becomes "transfer_map". "transfer_unmap + transfer_destroy" becomes "transfer_unmap". transfer_map must create and return the transfer object and transfer_unmap must destroy it. transfer_map is successful if the returned buffer pointer is not NULL. If transfer_map fails, the pointer to the transfer object remains unchanged (i.e. doesn't have to be NULL). Acked-by:
Brian Paul <brianp@vmware.com>
-
- 30 Sep, 2012 1 commit
-
-
Marek Olšák authored
Tested-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 25 Sep, 2012 1 commit
-
-
Tom Stellard authored
v2: - Add comment in screen.rst - Report OpenCL required minimum for r600g
-
- 04 Aug, 2012 1 commit
-
-
Marek Olšák authored
I need this and it seems like it could be useful. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 10 Jul, 2012 1 commit
-
-
Marek Olšák authored
-
- 19 Jun, 2012 1 commit
-
-
Fredrik Höglund authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 01 Jun, 2012 2 commits
-
-
Francisco Jerez authored
v2: Tom Stellard - Update CAP description v3: Tom Stellard - TGSI targets should pass an empty string for this CAP. v4: Tom Stellard - TGSI targets can ignore this CAP. Reviewed-by:
Francisco Jerez <currojerez@riseup.net>
-
Tom Stellard authored
v2: - s/PIPE_SHADER_IR_LLVM_R600/PIPE_SHADER_IR_LLVM/ Reviewed-by:
Francisco Jerez <currojerez@riseup.net>
-
- 12 May, 2012 1 commit
-
-
Christoph Bumiller authored
This is not necessarily the product of MAX_BLOCK_SIZE[i]. Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Reviewed-by:
Francisco Jerez <currojerez@riseup.net>
-
- 11 May, 2012 3 commits
-
-
Francisco Jerez authored
Add a shader cap for specifying the preferred shader representation. Right now the only supported value is TGSI, other enum values will be added as they are needed. This is mainly to accommodate AMD's LLVM compiler back-end by letting it bypass the TGSI representation for compute programs. Other drivers will keep using the common TGSI instruction set. Reviewed-by:
Tom Stellard <thomas.stellard@amd.com>
-
Francisco Jerez authored
-
Francisco Jerez authored
Define an interface that exposes the minimal functionality required to implement some of the popular compute APIs. This commit adds entry points to set the grid layout and other state required to keep track of the usual address spaces employed in compute APIs, to bind a compute program, and execute it on the device. Reviewed-by:
Marek Olšák <maraeo@gmail.com>
-
- 29 Apr, 2012 2 commits
-
-
Marek Olšák authored
This is required for any serious constant buffer support. Constant buffer offsets on ATI and NVIDIA DX10 and DX11 GPUs must be a multiple of 256. In OpenGL, this can be queried via GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT.
-
Marek Olšák authored
-
- 23 Apr, 2012 1 commit
-
-
Marek Olšák authored
Supported vertex formats will be queried using is_format_supported(.., PIPE_BIND_VERTEX_BUFFER, ..).
-