Fix issue with index buffers that do not contain 0 index. Use core
BaseVertex functionality to offset index buffer indices, instead of
offsetting vertex buffer to point before the buffer origin.
---
src/gallium/drivers/swr/swr_draw.cpp | 2 +-
src/gallium/drivers/swr/swr_state.cpp | 2 +-
2 file
move util/u_upload_mgr.h inside extern "C"
---
src/gallium/drivers/swr/swr_context.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/swr_context.cpp
b/src/gallium/drivers/swr/swr_context.cpp
index 2e37bac..04ff146 100644
--- a/src/gallium/drivers/swr/
Added extern "C" __cplusplus guards on headers that did not have them.
---
src/gallium/auxiliary/util/u_transfer.h | 8
src/gallium/auxiliary/util/u_upload_mgr.h | 7 +++
2 files changed, 15 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_transfer.h
b/src/gallium/auxiliary
the guards have been added to the header files that needed them.
---
src/gallium/drivers/swr/swr_context.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/drivers/swr/swr_context.cpp
b/src/gallium/drivers/swr/swr_context.cpp
index 2e37bac..3e17edc 100644
--- a/src/gallium/driv
For now, the cache key is all of FETCH_COMPILE_STATE.
Use new/delete for swr_vertex_element_state, since we have to call the
constructors/destructors of the struct elements.
---
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.h | 2 +-
src/gallium/drivers/swr/swr_draw.cpp |
Fix issue with index buffers that do not contain a 0 index. 0 index
can be a non-valid index if the (copied) vertex buffers are a subset of the
user's (which happens because we only copy the range between min & max).
Core will use an index passed in from the driver to replace invalid indices.
Onl
Used in abandoned all-or-nothing approach to converting to AVX512
---
.../drivers/swr/rasterizer/common/simdintrin.h | 633 -
.../drivers/swr/rasterizer/core/format_types.h | 189 --
src/gallium/drivers/swr/rasterizer/core/knobs.h| 5 -
src/gallium/drivers/swr
Used for common code reuse and simplification
---
.../drivers/swr/rasterizer/core/backend.cpp| 561 -
src/gallium/drivers/swr/rasterizer/core/backend.h | 150 +-
2 files changed, 351 insertions(+), 360 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/c
---
.../rasterizer/scripts/templates/ar_eventhandlerfile_h.template| 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/src/gallium/drivers/swr/rasterizer/scripts/templates/ar_eventhandlerfile_h.template
b/src/gallium/drivers/swr/rasterizer/scripts/templates/ar_eventhan
Add frontend dependency concept in the DRAW_CONTEXT, which
allows serialization of frontend work if necessary.
---
src/gallium/drivers/swr/rasterizer/core/api.cpp | 3 +++
src/gallium/drivers/swr/rasterizer/core/context.h | 3 ++-
src/gallium/drivers/swr/rasterizer/core/threads.cpp | 14 ++
This allows the post-processor to easily detect the API thread and to
process frame information. The frame information is needed to
optimized how data is processed from worker threads.
---
src/gallium/drivers/swr/rasterizer/archrast/events.proto | 8
src/gallium/drivers/swr/raste
- Added SConscript files
- better handling of NOMINMAX for inclusion
- Reorder header files in swr_context.cpp to handle NOMINMAX better, since
mesa header files include windows.h before we get a chance to #define
NOMINMAX
- cleaner support for .dll and .so prefix/suffix across OSes
- added PU
not having it on windows causes a CANARY assertion in
src/util/ralloc.c:get_header()
Tested only on MSVC 19.00 (DevStudio 14.0), so #ifdef guards reflect that.
---
src/util/macros.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/util/macros.h b/src/util/macros.h
index 27d1b62..12b26
ble SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (3):
gallium/scons: OpenSWR Windows support
mesa: added msvc HAS_TRIVIAL_DESTRUCTOR implementation
swr: Support windows builds
scons/llvm.py | 21 ++-
sr
- Added code to create screen and handle swaps in libgl_gdi.c
- Added call to swr SConscript
- included llvm 3.9 support for scons (windows swr only support 3.9 and
later)
- include -DHAVE_SWR to subdirs that need it
To buils SWR on windows, use "scons swr libgl-gdi"
---
scons/llvm.py
(swrAVX.dll and swrAVX2.dll).
The default software renderer is still llvmpipe, and, like on linux,
you enable SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (8):
mesa: removed redundant #else
scons: ignore .hpp files in parse_source_list()
scons: added llvm 3
---
src/util/macros.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/util/macros.h b/src/util/macros.h
index 0563fa5..3730abe 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -178,7 +178,6 @@ do { \
# elif defined(_MSC_VER) && !defined(__INTEL_COMPILER)
#
---
scons/llvm.py | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/scons/llvm.py b/scons/llvm.py
index 1fc8a3f..977e47a 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -106,7 +106,24 @@ def generate(env):
])
env.Prepend(LIBPATH = [os.pa
Added hooks for screen creation and swap. Still keep llvmpipe the default
software renderer.
---
src/gallium/targets/libgl-gdi/libgl_gdi.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c
b/src/gallium/tar
---
src/gallium/targets/libgl-gdi/SConscript | 6 ++
src/gallium/targets/libgl-xlib/SConscript | 6 ++
src/gallium/targets/osmesa/SConscript | 6 ++
3 files changed, 18 insertions(+)
diff --git a/src/gallium/targets/libgl-gdi/SConscript
b/src/gallium/targets/libgl-gdi/SConscript
Added compiler flags for libmesaswr, since it now includes core header
files.
---
src/gallium/drivers/swr/Makefile.am | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/gallium/drivers/swr/Makefile.am
b/src/gallium/drivers/swr/Makefile.am
index dd1c2e6..843d3b5
--- a/src/gallium/drive
Drivers that contain C++ .hpp files need to ignore them too, along
with .h files, when building source file lists.
---
scons/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/custom.py b/scons/custom.py
index bdb4039..544b15d 100644
--- a/scons/custom.py
+++ b/sco
Enable swr builds by "scons swr=1 libgl-gdi" (windows only)
---
src/gallium/SConscript | 1 +
src/gallium/drivers/swr/SConscript | 199 +
2 files changed, 200 insertions(+)
create mode 100644 src/gallium/drivers/swr/SConscript
diff --git a/src/ga
- moving some header files around for proper inclusion of windows.h
- OS agnostic loading of arch-specific loadable modules
- PUBLIC function declaration
- better handling on NOMINMAX around windows.h inclusion.
---
src/gallium/drivers/swr/rasterizer/common/os.h | 5 -
src/gallium/drivers/swr
Drivers that contain C++ .hpp files need to ignore them too, along
with .h files, when building source file lists.
---
scons/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/custom.py b/scons/custom.py
index bdb4039..544b15d 100644
--- a/scons/custom.py
+++ b/sco
Modify gen_knobs.py so that each invocation creates a single generated
file. This is more similar to how the other generators behave.
---
src/gallium/drivers/swr/Makefile.am| 14 +-
src/gallium/drivers/swr/SConscript | 17 +---
.../drivers/swr/rasterizer/sc
---
src/util/macros.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/util/macros.h b/src/util/macros.h
index 0563fa5..3730abe 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -178,7 +178,6 @@ do { \
# elif defined(_MSC_VER) && !defined(__INTEL_COMPILER)
#
---
scons/llvm.py | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/scons/llvm.py b/scons/llvm.py
index 1fc8a3f..977e47a 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -106,7 +106,24 @@ def generate(env):
])
env.Prepend(LIBPATH = [os.pa
software renderer is still llvmpipe, and, like on linux,
you enable SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (10):
mesa: removed redundant #else
scons: ignore .hpp files in parse_source_list()
scons: add llvm 3.9 support.
gallium: Added SWR support for
Added hooks for screen creation and swap. Still keep llvmpipe the default
software renderer.
---
src/gallium/targets/libgl-gdi/libgl_gdi.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c
b/src/gallium/tar
---
src/gallium/SConscript | 1 +
src/gallium/drivers/swr/SConscript | 213 +
2 files changed, 214 insertions(+)
create mode 100755 src/gallium/drivers/swr/SConscript
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index f98268f..927
Reorder header files so that we have a chance to defined NOMINMAX before
mesa include files include windows.h
---
src/gallium/drivers/swr/swr_context.cpp | 16
src/gallium/drivers/swr/swr_context.h | 2 ++
src/gallium/drivers/swr/swr_screen.cpp | 25 +++--
To buils The SWR driver (currently optional, not compiled by default)
---
common.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/common.py b/common.py
index fb0884e..704ad2e 100644
--- a/common.py
+++ b/common.py
@@ -110,5 +110,6 @@ def AddOptions(opts):
opts.Add(BoolOption('texture_fl
Include swr library and include -DHAVE_SWR in the compile line.
---
src/gallium/targets/libgl-gdi/SConscript | 4
src/gallium/targets/libgl-xlib/SConscript | 4
src/gallium/targets/osmesa/SConscript | 4
3 files changed, 12 insertions(+)
diff --git a/src/gallium/targets/libgl-
- Handle dynamic library loading for windows
- Implement swap for gdi
- fix prototypes
- update include paths on configure-based build for swr_loader.cpp
---
src/gallium/drivers/swr/Makefile.am| 7 +++
src/gallium/drivers/swr/swr_loader.cpp | 28 +---
src/gallium/d
---
src/util/macros.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/util/macros.h b/src/util/macros.h
index 733bf42..6f55ac6 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -178,7 +178,6 @@ do { \
# elif defined(_MSC_VER) && !defined(__INTEL_COMPILER)
#
software renderer is still llvmpipe, and, like on linux,
you enable SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (10):
mesa: removed redundant #else
scons: ignore .hpp files in parse_source_list()
scons: add llvm 3.9 support.
gallium: Added SWR support for
- Handle dynamic library loading for windows
- Implement swap for gdi
- fix prototypes
- update include paths on configure-based build for swr_loader.cpp
---
src/gallium/drivers/swr/swr_loader.cpp | 27 ---
src/gallium/drivers/swr/swr_public.h | 9 +
2 files chan
To buils The SWR driver (currently optional, not compiled by default)
---
common.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/common.py b/common.py
index fb0884e..704ad2e 100644
--- a/common.py
+++ b/common.py
@@ -110,5 +110,6 @@ def AddOptions(opts):
opts.Add(BoolOption('texture_fl
Reorder header files so that we have a chance to defined NOMINMAX before
mesa include files include windows.h
---
src/gallium/drivers/swr/swr_context.cpp | 16
src/gallium/drivers/swr/swr_context.h | 2 ++
src/gallium/drivers/swr/swr_screen.cpp | 25 +++--
Drivers that contain C++ .hpp files need to ignore them too, along
with .h files, when building source file lists.
---
scons/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/custom.py b/scons/custom.py
index bdb4039..544b15d 100644
--- a/scons/custom.py
+++ b/sco
There are 2 swr_create_screen() functions. One in swr_loader.cpp, which
is used during driver init, and the other is hiding in swr_screen.cpp,
which ends up in the arch-specific .dll/.so.
Rename the second one to swr_create_screen_internal(), to avoid confusion
in header files.
---
src/gallium/d
Added hooks for screen creation and swap. Still keep llvmpipe the default
software renderer.
---
src/gallium/targets/libgl-gdi/libgl_gdi.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c
b/src/gallium/tar
---
scons/llvm.py | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/scons/llvm.py b/scons/llvm.py
index 1fc8a3f..977e47a 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -106,7 +106,24 @@ def generate(env):
])
env.Prepend(LIBPATH = [os.pa
Include swr library and include -DHAVE_SWR in the compile line.
---
src/gallium/targets/libgl-gdi/SConscript | 4
src/gallium/targets/libgl-xlib/SConscript | 4
src/gallium/targets/osmesa/SConscript | 4
3 files changed, 12 insertions(+)
diff --git a/src/gallium/targets/libgl-
Also, modify gen_knobs.py so that each invocation creates a single generated
file. This is more similar to how the other generators behave.
---
src/gallium/SConscript | 1 +
src/gallium/drivers/swr/Makefile.am| 15 +-
src/gallium/drivers/swr/SConscri
Added hooks for screen creation and swap. Still keep llvmpipe the default
software renderer.
v2: split from bigger patch
v3: reword commit message
Reviewed-by: Emil Velikov
---
src/gallium/targets/libgl-gdi/libgl_gdi.c | 28 +++-
1 file changed, 23 insertions(+), 5 dele
Reorder header files so that we have a chance to defined NOMINMAX before
mesa include files include windows.h
v3: split from bigger patch
Reviewed-by: Emil Velikov
---
src/gallium/drivers/swr/swr_context.cpp | 16
src/gallium/drivers/swr/swr_context.h | 2 ++
src/gallium/dri
There are 2 swr_create_screen() functions. One in swr_loader.cpp, which
is used during driver init, and the other is hiding in swr_screen.cpp,
which ends up in the arch-specific .dll/.so.
Rename the second one to swr_create_screen_internal(), to avoid confusion
in header files.
---
src/gallium/d
software renderer is still llvmpipe, and, like on linux,
you enable SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (11):
mesa: removed redundant #else
scons: ignore .hpp files in parse_source_list()
scons: add llvm 3.9 support.
gallium: Added SWR support for
v4: Add windows-specific gen_knobs.{cpp|h} changes
v5: remove aggresive squashing of gen_knobs.py to this commit
Reviewed-by: Emil Velikov
---
src/gallium/SConscript | 1 +
src/gallium/drivers/swr/SConscript | 216 +
2 files changed, 217 insertio
To buils The SWR driver (currently optional, not compiled by default)
v3: add option as opposed to target
Reviewed-by: Emil Velikov
---
common.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/common.py b/common.py
index fb0884e..704ad2e 100644
--- a/common.py
+++ b/common.py
@@ -110,5 +11
Drivers that contain C++ .hpp files need to ignore them too, along
with .h files, when building source file lists.
Reviewed-by: Emil Velikov
---
scons/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/custom.py b/scons/custom.py
index bdb4039..544b15d 100644
---
v2: reworded commit message
Reviewed-by: Emil Velikov
---
scons/llvm.py | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/scons/llvm.py b/scons/llvm.py
index 1fc8a3f..977e47a 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -106,7 +106,24 @@ def generate
- Handle dynamic library loading for windows
- Implement swap for gdi
- fix prototypes
- update include paths on configure-based build for swr_loader.cpp
v2: split to multiple patches
v3: split and reshuffle some more; renamed title
v4: move Makefile.am changes to other commit. Modify header files
Modify gen_knobs.py so that each invocation creates a single generated
file. This is more similar to how the other generators behave.
v5: remove Scoscript edits from this commit; moved to commit that first
adds SConscript
Acked-by: Emil Velikov
---
src/gallium/drivers/swr/Makefile.am
Reviewed-by: Emil Velikov
---
src/util/macros.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/util/macros.h b/src/util/macros.h
index 733bf42..6f55ac6 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -178,7 +178,6 @@ do { \
# elif defined(_MSC_VER) && !d
Include swr library and include -DHAVE_SWR in the compile line.
v3: split to a separate commit
Reviewed-by: Emil Velikov
---
src/gallium/targets/libgl-gdi/SConscript | 4
src/gallium/targets/libgl-xlib/SConscript | 4
src/gallium/targets/osmesa/SConscript | 4
3 files change
---
docs/submittingpatches.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html
index 2d18c74..be49a2e 100644
--- a/docs/submittingpatches.html
+++ b/docs/submittingpatches.html
@@ -41,7 +41,7 @@ components.
git bise
---
src/gallium/targets/libgl-gdi/SConscript | 1 +
src/gallium/targets/libgl-gdi/libgl_gdi.c | 4
2 files changed, 5 insertions(+)
diff --git a/src/gallium/targets/libgl-gdi/SConscript
b/src/gallium/targets/libgl-gdi/SConscript
index d3251ca..adb3581 100644
--- a/src/gallium/targets/libgl
---
src/gallium/drivers/swr/swr_clear.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/swr/swr_clear.cpp
b/src/gallium/drivers/swr/swr_clear.cpp
index f59179f..e752ee0 100644
--- a/src/gallium/drivers/swr/swr_clear.cpp
+++ b/src/gallium/drivers/swr
Include propagation of comparisons further down.
---
src/gallium/drivers/swr/swr_clear.cpp | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/gallium/drivers/swr/swr_clear.cpp
b/src/gallium/drivers/swr/swr_clear.cpp
index f59179f..08eead8 100644
--- a/src/galli
- Incorporate flatshade flag into the shader generation
- Use provoking vertex (vc) in shader when flat shading.
---
src/gallium/drivers/swr/swr_shader.cpp | 4
src/gallium/drivers/swr/swr_shader.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/gallium/drivers/swr/swr_shader.cpp
There is a limit of 10 display connections, which was a
problem for apps/tests that were continuously opening/closing display
connections.
This fix uses XAddExtension() and XESetCloseDisplay() to keep track
of the status of the display connections from the X server, freeing
mesa-related data as X
There is a limit of 10 display connections, which was a
problem for apps/tests that were continuously opening/closing display
connections.
This fix uses XAddExtension() and XESetCloseDisplay() to keep track
of the status of the display connections from the X server, freeing
mesa-related data as X
There is a limit of 10 display connections, which was a
problem for apps/tests that were continuously opening/closing display
connections.
This fix uses XAddExtension() and XESetCloseDisplay() to keep track
of the status of the display connections from the X server, freeing
mesa-related data as X
This resolves some order dependencies between the already existing
callback the newly created one.
---
src/gallium/state_trackers/glx/xlib/glx_api.c | 1 +
src/gallium/state_trackers/glx/xlib/xm_api.c | 58 +++
src/gallium/state_trackers/glx/xlib/xm_api.h | 3 ++
3 file
screen may still be used by other resources that are not yet freed.
To correctly fix this there will be a need to account for resources
differently, but this quick fix is not any worse than the original
code that leaked screens anyway.
---
src/gallium/state_trackers/glx/xlib/xm_api.c | 10 +++-
Removed bound_to_context. We now pick up the context from the screen
instead of the resource itself. The resource could be out-of-date
and point to a pipe that is already freed.
Fixes manywin mesa xdemo.
---
src/gallium/drivers/swr/swr_context.cpp | 16 +++-
src/gallium/drivers/swr/
Remove allocation of > 2kbyte buffers into context memory in
swr_copy_to_scatch_space() (which is used to copy small vertex/index buffers
and shader constants to a scratch space to be used by the upcoming draw.)
Large shader constant allocations need to be done in the circular scratch
buffer inste
The shader that is used to copy vertex data out of the vs/gs shaders to
the user-specified buffer (streamout os SO shader) was not using the
correct offsets.
Adjust the offsets that are used just for the SO shader:
- Make sure that position is handled in the same special way
as in the vs/gs shad
The shader that is used to copy vertex data out of the vs/gs shaders to
the user-specified buffer (streamout or SO shader) was not using the
correct offsets.
Adjust the offsets that are used just for the SO shader:
- Make sure that position is handled in the same special way
as in the vs/gs shad
Add logic for converting enums and also making sure stipple works.
CC:
---
src/gallium/drivers/swr/swr_state.cpp | 14 +-
src/gallium/drivers/swr/swr_state.h | 20
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/swr_state
add support in the binner: Split BinPoints into BinPostSetupPoints,
so we can use it from BinTriangles, since setup is already done.
CC:
---
src/gallium/drivers/swr/rasterizer/core/binner.cpp | 175 ++---
1 file changed, 117 insertions(+), 58 deletions(-)
diff --git a/src/galli
add support in the binner: Split BinPoints into BinPostSetupPoints,
so we can use it from BinTriangles, since setup is already done.
v2: remove cc stable
---
src/gallium/drivers/swr/rasterizer/core/binner.cpp | 175 ++---
1 file changed, 117 insertions(+), 58 deletions(-)
diff --
Add logic for converting enums and also making sure stipple works.
v2: remove cc stable, and remove "not implemented" assert
---
src/gallium/drivers/swr/swr_state.cpp | 8 +++-
src/gallium/drivers/swr/swr_state.h | 20
2 files changed, 27 insertions(+), 1 deletion(-)
Add support for polygonmode point in the binner. This is done by
splitting BinPostSetupPoints from BinPoints, so the earlier call can be
called from BinTriangles. Setup has already been done at the time
BinPostSetupPoints needs to be called.
This checkin just adds support in the rasterizer. A s
Rasterizer core only supports polygonmode front==back. Add logic for
populating fillMode for the rasterizer only for that case correctly.
Provide enum conversion between mesa enums and core enums.
The core renders lines/points as tris. Previously, code would enable
stipple for polygonmode != FILL
while timespec_get() is supposed to hide OS differences, compatibility doesn't
cover old OSes (like CentOS 6) where timespec_get() does not exist.
Fall back to using os_get_time_nano(), but separate out the functionality
that populates struct timespec, so it can also be called from
_util_queue_fen
Do not depend on gallium/include/pipe/p_config.h for PIPE_OS_* defines.
Use standard OS defines instead.
---
src/util/os_time.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/util/os_time.c b/src/util/os_time.c
index 72dc7e4..1c34bfd 100644
--- a/
Do not depend on gallium/include/pipe/p_config.h for PIPE_OS_* defines.
Use standard OS defines instead.
---
src/util/os_time.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/util/os_time.c b/src/util/os_time.c
index 72dc7e4..1c34bfd 100644
--- a/
gen_rasterizer*.cpp now depend on gen_ar_eventhandler.hpp.
Account for new dependency.
---
src/gallium/drivers/swr/SConscript | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/SConscript
b/src/gallium/drivers/swr/SConscript
index e35eff7..9204ecb 100644
--- a/src/gallium
gen_BackendPixelRate*.cpp depends on gen_ar_eventhandler.hpp.
Fix missing dependency.
---
src/gallium/drivers/swr/SConscript | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/SConscript
b/src/gallium/drivers/swr/SConscript
index 9204ecb..eca4830 100644
--- a/src/gallium/
Consider the following RT attachment order:
1. Attach surfaces attachments 0 & 1, and render with them
2. Detach 0 & 1
3. Re-attach 0 & 1 to different surfaces
4. Render with the new attachment
The definition of a tile being resolved is that local changes have been
flushed out to the surface, henc
Inline function SWR_MULTISAMPLE_POS::PrecalcSampleData() was missing
definition. Include definition in core/state_funcs.h.
Fixes windows build.
---
src/gallium/drivers/swr/swr_state.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/swr_state.cpp
b/src/gallium/drive
Account for info.index_bias when calculating buffers offsets.
Fixes the follow piglit tests:
arb_draw_elements_base_vertex-drawelements-user_varrays
arb_draw_elements_base_vertex-negative-index-user_varrays
---
src/gallium/drivers/swr/swr_state.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 d
BuilderSWR::swr_gs_llvm_fetch_input() (and consequently
swr_gs_llvm_fetch_input()), did not handle the case where
is_vindex_indirect or is_aindex_direct is set.
Implement it, using the code in draw_llvm.c as a guideline.
Fixes the following piglit tests:
dynamic_input_array_index (crash)
gs-inpu
cc: Dylan Baker
---
src/gallium/drivers/swr/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/meson.build
b/src/gallium/drivers/swr/meson.build
index c8c69b0..8dffb4c 100644
--- a/src/gallium/drivers/swr/meson.build
+++ b/src/gallium/drivers/swr/meson.build
The texture swizzle was not doing the right thing for avx512-style
16-wide loads.
Special-case the post-load swizzle operations for avx512 so that we move
the xyzw components correctly to the outputs.
cc: Jose Fonseca
---
src/gallium/auxiliary/gallivm/lp_bld_pack.c | 40
---
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 508bc02..40ca644 100644
--- a/src/gallium/driv
---
.../drivers/swr/rasterizer/core/frontend.cpp | 8 ++---
src/gallium/drivers/swr/rasterizer/core/state.h| 4 +--
.../drivers/swr/rasterizer/jitter/JitManager.cpp | 3 ++
.../drivers/swr/rasterizer/jitter/fetch_jit.cpp| 39 +-
.../drivers/swr/rasterizer/jit
- Move debug .ll files to JIT_CACHE_DIR
- Don't link against jitter SRGBLut table, add global data to shader that needs
it.
---
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc
Also including:
- enabling of SIMD16 VS
- Early Rasterization implementation
George Kyriazis (20):
swr/rast: Fix one more invalid object format for windows.
swr/rast: Added missing define for Linux/gcc
swr/rast: Add private state parameter in fetcher
swr/rast: Initial work for debugging
---
.../drivers/swr/rasterizer/jitter/JitManager.cpp| 21 +
.../drivers/swr/rasterizer/jitter/JitManager.h | 11 ++-
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
b/src/gallium/drivers/
in shader and fetch dump files
---
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp | 2 +-
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
b/src/gallium/d
Added support for Fetch / Sample / LD functions
Added DLL link to JitCache implementation
---
.../drivers/swr/rasterizer/jitter/JitManager.cpp | 92 ++
.../drivers/swr/rasterizer/jitter/JitManager.h | 7 +-
.../drivers/swr/rasterizer/jitter/fetch_jit.cpp| 2 +
.../d
Adds ability to step into jitted llvm IR in Visual Studio.
- Updated llvm type generation script to also generate corresponding debug
types.
- New module pass inserts debug metadata into the IR for each function
Disabled by default.
---
.../swr/rasterizer/codegen/gen_llvm_types.py | 10 +-
---
.../drivers/swr/rasterizer/jitter/JitManager.cpp | 20
.../drivers/swr/rasterizer/jitter/JitManager.h | 1 +
2 files changed, 21 insertions(+)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
b/src/gallium/drivers/swr/rasterizer/jitter/Jit
Properly validate DLL matches OBJ for jitted function
---
.../drivers/swr/rasterizer/jitter/JitManager.cpp | 111 +++--
1 file changed, 81 insertions(+), 30 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
b/src/gallium/drivers/swr/rasterizer/j
+ ZeroMemory() macro definition for non win32-compilation in common/os.h
---
src/gallium/drivers/swr/rasterizer/common/os.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h
b/src/gallium/drivers/swr/rasterizer/common/os.h
index 358cb33..c7e87e2 1
1 - 100 of 314 matches
Mail list logo