Dave Airlie
521dea21d4
r600: fix build
16 年前
Dave Airlie
771e19a861
r300: remove warning introduced with OQ
16 年前
Dave Airlie
f74e00f4d1
radeon/r200: fix build after OQ commits
16 年前
Dave Airlie
9ad76e9479
r300: OQ rework
Move to common code base so radeon/r200 can add support for this.
Make OQ start a state emitted like all normal state, and make no-tcl
flushing work in proper places.
Really need a generic post emit space reservation mechanism like max_state
so we can reserve some space for the emit
this code passes demos/arbocclude, piglit occlusion query and
glean occlusion query with TCL and NO-TCL on my rv530.
16 年前
Dave Airlie
0e705c0dd3
r300: fix missing BEGIN/END batches
16 年前
Dave Airlie
c80bc3abcd
r300: fix big endian build
16 年前
Brian Paul
3aafd22f6a
gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create()
This fixes invalid values for CondStackTop, LoopStackTop, etc.
16 年前
Brian Paul
680df529a3
demos/glsl: remove glutInitWindowPosition() calls
16 年前
Alex Deucher
af1dc225c2
r600: fix counting error after the last commit
16 年前
Alex Deucher
66c632b5a1
r600: make sure the number of indices is valid
make sure the number of indices is valid for the
requested prim type. glxgears sends invalid
quad strips with only 2 indices for example.
16 年前
Alex Deucher
c3380ded10
radeon: remove RADEON_DEBUG_BO stuff
This stuff was a vestige of the r600 bring up and
now mostly serves to periodically break the build.
16 年前
Maarten Maathuis
caf40d5d14
nv50: remove a few cases of directly casting struct pipe_context
16 年前
Maarten Maathuis
97cc526eb7
nv50: borrow some flushing code from the ddx
- This fixes neverball corruption.
- I'm unsure about what we're actually flushing here.
16 年前
Maarten Maathuis
f199dbdb76
gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.
16 年前
Maarten Maathuis
93ce4c99d4
nv50: whitespace fixes and deobfuscation
16 年前
Brian Paul
7c4223876b
cell: fix incorrect pipe_transfer tests
The value is an enum, not a bitmask.
16 年前
Jerome Glisse
c952c1f109
r300: split vbo rendering with big drawarray case
Split vbo rendering when the number of elements requested
by drawarrays is bigger than 65536.
16 年前
Christoph Bumiller
0204c7d8d7
nv50: fix stencil state
It's the front stencil methods that have contiguous offsets,
not the back ones.
Unfortunately the names in the header still have FRONT/BACK
reversed, so I'm using hex values until it gets updated.
16 年前
Dave Airlie
743c4af5cd
radeon: turn off bo debugging
16 年前
Maciej Cencora
fd97f2f8b8
r300: disable ZTOP only when occlusion queries are used
16 年前
Maciej Cencora
30e9c753b8
Merge branch 'oq'
16 年前
Pauli Nieminen
57f55af219
mesa: Add 2 new demos to .gitignore.
16 年前
Maarten Maathuis
a7adb85827
nv50: avoid a NULL-ptr dereference when the pipe context changes
- We cannot assume all state objects are present when the pipe context changes.
16 年前
Christoph Bumiller
a2af40b846
nv50: align registers used with TEX to 4
The TEX instruction is passed the first index of a contiguous
range of 4 TEMP registers that contain coordinates / LOD and,
after execution, the texel values.
It seems the first index is required to be a multiple of 4 on
some (older ?) cards.
16 年前
Maciej Cencora
60587182d4
r300: enable ARB_occlusion_query
Supported only on HW with TCL block and with proper radeon drm.
Required minimum radeon drm version is 1.30 or KMS.
16 年前
Maciej Cencora
d2b1b9e8d5
radeon: add flag for drm OQ support
16 年前
Maciej Cencora
f3e1d7d6f8
r300: temporary occlusion query hack
16 年前
Maciej Cencora
8d60c0b751
r300: clear not_flushed OQ list after flush
16 年前
Maciej Cencora
c903834d4d
r300/oq: add some debugging info
16 年前
Maciej Cencora
0d0f01e2e0
r300: add occlusion queries support
TODO:
- use proper interface for checking if bo is idle when it's available
- disable ZTOP only when needed
- make it work under KMS
16 年前
Dave Airlie
f2daded812
radeon space: realign with drm space check code
16 年前
Dave Airlie
a6cc45e135
r300: fixup space checks since VBO code
Hopefully this gets the ordering correct so the space checks don't fail.
16 年前
Dave Airlie
3cc9a28b9b
r300: add just in case warn I don't think this can actually happen
16 年前
Dave Airlie
5e4e8effec
radeon: enable vertex splitting for IBs
Based on Maciej's code, just fixed up the alignments for INDX_BUFFER
ut2004 runs AS-Convoy
16 年前
Roland Scheidegger
b9789948e0
i965: disable bounds checking on arrays with stride 0
if stride is 0 we cannot use count as max index for bounds checking,
since the hardware will simply return 0 as data for indices failing
bounds check. If stride is 0 any index should be valid hence simply
disable bounds checking in this case.
This fixes bugs introduced with e643bc5fc7
.
16 年前
Brian Paul
e8957f4800
progs/demos: print more info in fbotexture.c
16 年前
Ian Romanick
e304c65a2b
i965: Add support for GL_ARB_seamless_cube_map
16 年前
Ian Romanick
8b0b33530c
demos/cubemap: Add support for GL_ARB_seamless_cube_map
16 年前
Ian Romanick
06ae1db4a9
Regenerate files for GL_ARB_seamless_cube_map
16 年前
Ian Romanick
9d5bb3c6f8
Infrastructure for GL_ARB_seamless_cube_map
16 年前
Ian Romanick
970f768666
Regenerate files for GL_APPLE_flush_buffer_range
16 年前
Maciej Cencora
a89963cec1
Merge branch 'vbo_clean'
Conflicts:
src/mesa/drivers/dri/r300/r300_draw.c
16 年前
Maciej Cencora
7fe0dd2e6e
r300: mark VBO buffer objects as persistent
16 年前
Maciej Cencora
cd703049db
r300: unmap buffer objects after usage
16 年前
José Fonseca
e3bc1fb6bc
gallium: Always map for READ flag when DISCARD is not set.
This prevents the driver from discarding a buffer when the whole buffer
is mapped for writing, but only a portion is effectively written.
This is a temporary fix, because WRITE shouldn't imply DISCARD.
The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout
the code, and will go only into master.
16 年前
José Fonseca
10430f47a4
trace: Remove space next to the class attribute of the trace.
16 年前
José Fonseca
cdf56eb68d
python/retrace: Open bz2 files correctly.
16 年前
Brian Paul
71b1610941
mesa: append uniform values to the log file the first time we use a shader
This info is essential to using/debugging a shader outside of its normal
application.
16 年前
Brian Paul
12199ed96c
mesa: also pass the GPU program to _mesa_append_uniforms_to_file()
We want the post-link program at this points.
16 年前
Brian Paul
e3d47515f9
vbo: call _mesa_valid_to_render()
16 年前