Lines Matching refs:XS
392 #define IMPLEMENT_SHADER_STAGE(XS, Stage) \
393 virtual void STDMETHODCALLTYPE XS##SetShader( \
398 xs_set_shader<D3D11_STAGE_##XS>((GalliumD3D11Shader<>*)pShader); \
400 virtual void STDMETHODCALLTYPE XS##GetShader(\
405 *ppShader = (ID3D11##Stage##Shader*)shaders[D3D11_STAGE_##XS].ref(); \
407 virtual void STDMETHODCALLTYPE XS##SetConstantBuffers(\
413 xs_set_constant_buffers<D3D11_STAGE_##XS>(start, count, (GalliumD3D11Buffer *const *)constant_buffers); \
415 virtual void STDMETHODCALLTYPE XS##GetConstantBuffers(\
422 out_constant_buffers[i] = constant_buffers[D3D11_STAGE_##XS][start + i].ref(); \
424 virtual void STDMETHODCALLTYPE XS##SetShaderResources(\
430 xs_set_shader_resources<D3D11_STAGE_##XS>(start, count, (GalliumD3D11ShaderResourceView *const *)new_shader_resource_views); \
432 virtual void STDMETHODCALLTYPE XS##GetShaderResources(\
439 out_shader_resource_views[i] = shader_resource_views[D3D11_STAGE_##XS][start + i].ref(); \
441 virtual void STDMETHODCALLTYPE XS##SetSamplers(\
447 xs_set_samplers<D3D11_STAGE_##XS>(start, count, (GalliumD3D11SamplerState *const *)new_samplers); \
449 virtual void STDMETHODCALLTYPE XS##GetSamplers( \
456 out_samplers[i] = samplers[D3D11_STAGE_##XS][start + i].ref(); \