Age | Commit message (Collapse) | Author |
|
|
|
Changes in v3:
- Also change trace, which I forgot about
Changes in v2:
- No longer adds tessellation shaders
Currently each shader cap has FS and VS versions.
However, we want a version of them for geometry, tessellation control,
and tessellation evaluation shaders, and want to be able to easily
query a given cap type for a given shader stage.
Since having 5 duplicates of each shader cap is unmanageable, add
a new get_shader_param function that takes both a shader cap from a
new enum and a shader stage.
Drivers with non-unified shaders will first switch on the shader
and, within each case, switch on the cap.
Drivers with unified shaders instead first check whether the shader
is supported, and then switch on the cap.
MAX_CONST_BUFFERS is now per-stage.
The geometry shader cap is removed in favor of checking whether the
limit of geometry shader instructions is greater than 0, which is also
used for tessellation shaders.
WARNING: all drivers changed and compiled but only nvfx tested
|
|
This might technically not always be correct, because va_copy might
be a function, or a system might not have va_copy, and not work with
assignment.
Hopefully this is never the case.
Without configure tests, it doesn't seem possible to do better.
|
|
Used when we want to be sure the compiler inlines a large function into
an inner loop.
|
|
Fixes MSVC build failure due to inconsistent _ReadWriteBarrier
prototype.
|
|
|
|
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
|
|
Defined like the Linux kernel.
A explanatory comment is included.
|
|
Unnecessary, and doesn't even guarantee size.
|
|
|
|
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
|
|
|
|
|
|
|
|
Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls
for aligned, always_inline, noinline, pure, const, and malloc.
This commit includes updates to files that were regenerated by gl_XML.py
after adding the __SUNPRO_C checks to it
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
|
|
|
|
As the default build has -fvisibility=hidden, add a macro to control the
visibility.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
ad-hoc definitions.
Everybody is using the C99's integer types. Everybody except Microsoft,
which in turns means everybody is including their own definitions of C99
integer types for MSVC, causing duplicate definitions when linking two
projects. This is the case of building Gallium and LLVM with MSVC.
Shipping alternative stdint.h and stdbool.h headers for MSVC allows us
to share a single definition. It also removes clutter from the Gallium
headers.
|
|
Apparently not only unnecessary but also causes gcc to complain.
|
|
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
uint64 is not (so?) standard, and often redefined by third parties,
causing name clashes.
|
|
INLINE is commonly used in third-party headers.
|
|
|
|
|
|
|
|
|
|
|
|
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
|
|
|
|
"long long" types and 1234LL constants are not supported by eVC.
|
|
Conflicts:
src/gallium/auxiliary/draw/draw_pt_varray.c
|
|
|
|
|
|
To abstract all those weird #ifdef (__???__) checks.
It should typically be the first included header.
|
|
|
|
|
|
This is in a separate commit to ensure renames are properly preserved.
|