Brian Paul
53db19b57d
mesa: _mesa_layout_parameters() returns a boolean value
16 years ago
Pauli Nieminen
55c0457fe9
radeon: Add debug output to radeonCountStateEmitSize.
16 years ago
Pauli Nieminen
ec61f677c3
r600: Fix indetion and add useful debug output.
16 years ago
Pauli Nieminen
75da0a6a56
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict
16 years ago
Maciej Cencora
ed14a4cb7b
r300: add support for EXT_framebuffer_blit
16 years ago
Cooper Yuan
a88678d3ee
tgsi: Fix build error due to commit acc7da90
16 years ago
José Fonseca
02c523dfbb
tgsi: Only free temp uregs.
Shorthand.
(cherry picked from commit de911220bb )
16 years ago
José Fonseca
acc7da9035
tgsi: Pass pipe_context as a parameter to ureg_create_shader.
Simplifies migration to tgsi_ureg.
(cherry picked from commit f574398c07 )
16 years ago
Keith Whitwell
b570a7e6b6
tgsi: add generic instruction builder
When translating an incoming shader (rather than building one from scratch)
it's preferable to be able to call a single, generic instruction emitter
rather than figuring out which of the opcode-specific functions to call.
16 years ago
Cooper Yuan
7ee4f32dcd
r300g: Set the vector address in the input memory for bypass_vs_clip_and_viewport case
16 years ago
Dave Airlie
2b29d21018
r600: scissor updates for dri2
Pulled from Dave's WIP patch.
16 years ago
Dave Airlie
f758a8bf2e
r600: switch to common cs functions
needed for dri2. Pulled from Dave's WIP patch.
16 years ago
Alex Deucher
436fb34369
r600: map 16 VS outputs
Should cover everything exported from the VS
16 years ago
Alex Deucher
d6f7ebd603
r600: fix logic copy paste error
Spotted by airlied.
16 years ago
Pauli Nieminen
fe42b4b757
r600: Improve emit prediction.
16 years ago
Pauli Nieminen
885906840d
r600: Predict emit size for next rendering.
16 years ago
Pauli Nieminen
ccde276838
radeon: Fix dri1 ctx emit size.
16 years ago
Pauli Nieminen
7bb0f880db
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict
Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
16 years ago
Alex Deucher
4484ce9c7b
radeon: add radeon_cs_write_table to the legacy path
16 years ago
Alex Deucher
becb50f84d
r600: bump reloc_chunk size
This fixes openarena reloc errors. This needs to be
made more dynamic.
16 years ago
Alex Deucher
670bd47df9
r600: fix count for CB/DB target state
16 years ago
Maciej Cencora
e1801d861a
r300: fix a typo
16 years ago
Maciej Cencora
bcbe27d0ca
radeon: use proper macro
16 years ago
Maciej Cencora
7e7f0f61bf
radeon: use bo_is_idle interface for checking if OQ result is available
16 years ago
Maciej Cencora
4aadda5f66
r300: minor optimization
use properly implemented OUT_BATCH_TABLE where possible
16 years ago
Ian Romanick
9b70c33e73
ARB prog lexer: Fix lexer to eat both DOS and Unix line endings
16 years ago
Alex Deucher
7a05a4c65c
r600: use persistent bos for shaders
16 years ago
Alex Deucher
41934be254
r600: always emit CB base
Not doing so seems to cause lock-ups or rendering problems
on some chips. I think there is an logic issue related to
CB and VGT on some chips. We ran into similar issues in
r600_demo IIRC.
16 years ago
Pauli Nieminen
b34695375e
radeon: Fix compilation with legacy memory manager.
16 years ago
Pauli Nieminen
66bbafb6f9
radeon: Check from kernel if dma buffer is idle.
This makes sure that objects are leaving wait list only when they are processed by gpu.
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
16 years ago
Alex Deucher
bf6d0ae598
r600: make state emit more fine grained
Gives a nice speed boost in most apps since
we only emit what state we need.
16 years ago
Renato Caldas
08e91e0315
shader: fix compilation warnings
This patch fixes some "implicit declaration of function" compilation
errors/warnings on the new shader code.
Signed-off-by: Renato Caldas <seventhguardian@gmail.com>
16 years ago
Luo Jinghua
523cb80d0f
ARB prog parser: include imports.h to kill some compiler warnings
16 years ago
Alex Deucher
180c304943
r600: move full state to radeon state atoms
16 years ago
Alex Deucher
17813931db
r600: add support for RS880
16 years ago
Ian Romanick
c87ef0870a
i965: Implement frag prog DPH like DP4
DPH can output to any component, not just to X. This allows fpalu.c
to run without hitting the assertion in emit_dph.
16 years ago
Pauli Nieminen
effda2e2a7
r300: Fix debug output.
16 years ago
Jakob Bornecrantz
54fb71b863
st/dri: Remove some debug prints
16 years ago
Jakob Bornecrantz
a3e59b9d06
st/dri: Find out if the drawable is a pixmap
Part of this code is disabled since no performance gains
where detected with it enabled.
This code only detects if it is a pixmap that it is
rendering to on the st/xorg DDX since it sets the fake
front to the same handle as front.
16 years ago
Jakob Bornecrantz
6237ac2412
st/dri: Fix frontbuffer rendering with DRI2
16 years ago
Jakob Bornecrantz
29165a2fcc
st/xorg: Handle fake fronts correctly for pixmaps
16 years ago
Jakob Bornecrantz
a469b4c459
i915g: Remove bad assert on fence
16 years ago
Pauli Nieminen
6c5c46f842
r300: Fix dri1 not to emit state that is not supported in old drm.
16 years ago
Pauli Nieminen
c0f4063703
radeon/r300: Code clean up and logic fix.
16 years ago
Michel Dänzer
029e643b24
glx/dri2: Always use X drawable ID for DRI2 protocol.
Fixes protocol errors in cases where the GLX ID is different.
16 years ago
Michel Dänzer
6b1f144d9b
Fix r300 VBO support build on big endian.
16 years ago
Alex Deucher
bf5d6cf455
r600: better default state size.
Hopefully suokko's emit size impovements will
land soon.
16 years ago
Pauli Nieminen
bb43c5d1cb
r300: Remove calls to rcommonEnsureCmdBufSpace.
All rendering is checked in r300PredictTryDrawPrimsSize which mamde these calls useless.
16 years ago
Pauli Nieminen
90647ff558
radeon: protect against buffer overflow in state atom debug code.
16 years ago
Ian Romanick
4cfb1b880b
Merge branch 'asm-shader-rework-1'
16 years ago