| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Hardware almost universally expects us to set a special filtering mode
when anisotropic filtering is enabled, as opposed to varying a max-aniso
values. Do this once in the state tracker & simplify the driver code.
|
| |
|
|
|
|
|
| |
Bind all the samplers/textures at once rather than piecemeal.
This is easier for drivers to understand.
|
| |
|
| |
|
|
|
|
| |
These functions are now per-screen, not per-context.
|
| |
|
|
|
|
|
| |
These are now per-screen functions, not per-context.
State tracker updated, code in drivers and p_context.h disabled.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This will allow creating textures before a rendering context exists, for example.
Only implemented in i915 driver for now. i915pipe->texture_create() just
dispatches through to the i915screen->texture_create() to avoid state tracker
changes for now.
|
|
|
|
|
| |
Added pipe field to pipe_texture (temporary, see comments).
First step toward context-less texture creation...
|
|
|
|
|
| |
No longer use semantic info in pipe_shader_state.
Also, remove redundant semantic info from i915_fp_compile struct.
|
| |
|
| |
|
| |
|
|
|
|
| |
Allocate a temporary register, insert MOV instruction, etc.
|
|
|
|
| |
Fixes crash when drawing aa lines.
|
| |
|
|
|
|
| |
i915_vbuf_render_get_vertex_info(), also disable bogus assertion
|
| |
|
| |
|
|
|
|
|
| |
We now produce the correct 915 vertex layout regardless of the order in
which fragment shader inputs are declared.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allocation
Before, fragment shaders were translated to i915 hw code at bind time, rather
than create time. Now there's an i915_fragment_shader struct with the expected
contents that's created by i915_create_fs_state(). Translation to i915 code
takes place there too.
Immediates are handled correctly now. During program translation we keep
track of which constant buffer slots are free (i.e. not referenced by the
shader). Then the TGSI immediates and ancillary immediates (introduced for
SIN/COS/etc) are put into those free slots.
When it's time to upload the constant buffer, use the fp->constant_flags[]
array to determine if we should grab an immediate from the shader, or a
user-defined parameter from the gallium constant buffer.
|
|
|
|
| |
This fixes at least one instance of dereferencing an invalid texture pointer.
|
| |
|
|
|
|
|
| |
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
|
| |
|
|
|
|
|
| |
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
|
| |
|
|
|
|
|
|
|
|
|
| |
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
|
|
This is in a separate commit to ensure renames are properly preserved.
|